1 Introduction

Computer mediated learning and online learning are attracting educational specialists’ attention in higher education and have been described as one of the most effective and popular modes of instruction adopted by educators (Saqr & López-Pernas, 2021). Among other benefits, online learning has the capacity to adapt to a wide range of different learning methodologies. In a well-planned atmosphere, online methodologies might contribute to enhancing active and collaborative learning (Lai, 2021), students´ motivation (Radkowitsch et al., 2020), several aspects of general well-being (Johnson et al., 2016) as well as academic emotions (Cress et al., 2019). In contrast, some other authors who studied different online learning processes also showed that students’ attitude and motivation were poor (Zizka & Probst, 2022), their satisfaction was below expectations and dropout rates were high (Jiang et al., 2021), or reported a feeling of isolation (Rizvi & Nabi, 2021), stress and anxiety (Lemay et al., 2021).

A closer look at learning methodologies reveals that computer mediated online learning studies point to collaborative and gamified learning as inductors of positive outcomes. Furthermore, difficulties in generating collaborative learning in online environments have been reported (Sjølie et al., 2022), a circumstance that has become more evident during the COVID-19 pandemic, and it has been confirmed that perceived social support has the capacity to reduce the risk of psychological distress and student withdrawal (Tinajero et al., 2020). Therefore, in recent years attention has been drawn to the gap that exists in respect to the scaffolding and designing of better collaborative learning methodologies and how gamification in learning environments can affect physical, emotional, cognitive and social well-being (Melo et al., 2020; Schnaubert & Vogel, 2022). From a gamified and game-based perspective, the latest research has confirmed that game elements positively affect problem solving experiences (Dai et al., 2020), students’ engagement (Sinha et al., 2015), and formulation of emotions (Dondio et al., 2022).

The Control-Value theory of Achievement Emotions (Pekrun, 2006) is a comprehensive framework for exploring antecedents of students’ emotions. According to this theory, academic emotions are closely related to learning achievement and academic performance. They might help increase students’ intention to continue online learning and reduce dropout rates during a difficult period. However, the literature on learning methodologies, such as role-playing, combining computer based social interaction and its association with academic experiences and emotions is scarce (Järvelä & Rose, 2022). Even when some studies address the association of computer-supported collaborative learning with learning performance (Wu et al., 2021), no previous literature relates the use of these methodologies with other key aspects in students´ performance such as online class- and test-related experiences in which students´ emotions are essential (Roos et al., 2022).

Furthermore, higher university students face numerous classes, tests and evaluations during their academic life that are increasingly associated with anxiety and emotional problems (Putwain et al., 2010; Pekrun., 2023). In turn, these problematic situations are negatively associated with information processing and retrieval, self-esteem, anxiety and students’ general well-being, as well as increased social and emotional problems (Van Yperen, 2007; Melo et al., 2020; Cassady, 2022). In this context, research about the antecedents and effects of non-desirable emotions is crucial for the implementation of suitable prevention and intervention methodologies (von der Embse et al., 2018).

Hence, the objective of this study is to analyse whether students’ participation in Collaborative, Gamified and Online Learning (CGOL) activities is associated with positive emotions in connection with attending a class and with tests. Moreover, we examine if the students’ attitude as well as their social interactions predict their participation in those CGOL methodologies. Our empirical analysis is focused on first year undergraduate students, since their personal attitude and social relationships are particularly important due to the support they provide in stressful situations (Wilcox et al., 2005).

The significance and importance of our contribution to the problem situation is that we provide a feasible solution for educators and trainers who are facing the challenge of mitigating students’ negative emotions or generating positive experiences for them. Implementing the proposed collaborative and gamified online methodology will enable students participating in these activities to improve emotional and social well-being through their positive academic emotions.

This study contributes to the literature not only by focusing on outcomes of participation—construed as an active involvement—in the designed methodology but also on their antecedents. The participation outcomes included in the model are class- and test-related emotions. In respect to antecedents, the model includes the effect of social interaction and students´ attitude, which is measured as a higher order construct by (i) perceived usefulness, construed as the value or usefulness that this digital resource brings to the students (Boateng et al., 2016), (ii) entertainment, construed as the enjoyment that this digital resource brings to the students (Waiguny et al., 2012), and (iii) habit, construed as the predisposition to use this digital resource among all those available in online training (Greene et al., 2021).

2 Literature review

2.1 Collaborative and gamified online learning

Educational systems require a constant process of transformation and evolution enabling them to adapt to social, economic and technological changes of the environment. In some cases, this need to adapt has materialised in remote educational practices in which there is no direct personal contact with students, and interactions take place by means of Information and Communication Technologies.

When designing a teaching methodology, it is advisable to combine different methods as well as simulations referred to real and complex situations in order to foment more integrating thinking, which obliges students to assume an active participation through analysis and decision-making. For this study, collaborative learning and gamified learning methodologies, together with online learning practices, were jointly applied to offer benefits in aspects such as motivation or emotional and cognitive commitment. At present, these methods have been reinforced by incorporating new technological applications and digital methodologies to the educational process, successfully improving some of the features of collaborative and online education. Currently, these methods are closely linked to electronic and computing devices, in particular since the irruption of the COVID 19 pandemic in March 2020.

The first educational methodology included in our study is collaborative learning (CL), based on students’ joint and symmetrical active participation towards shared learning objectives by means of frequent and accessible communication (Nkhoma et al., 2017). Collaborative learning is the instruction method in which learners work together in small groups to achieve a common objective, independently of their performance levels. The main elements of all collaborative learning are: positive interdependence, interpersonal and small group skills, individual and group accountability, face-to-face promotive interaction, and group processing (Dillenbourg et al., 2009). With the inclusion of this methodology, we establish direct contact between first-year students and help them struggle with socialisation at a moment and in an academic year that presents many challenges in that respect.

The second methodology that was considered in the study is gamified learning (GL), which allows including in the educational sphere social activities that have the capacity to entertain and develop knowledge in students who use it (Bainbridge et al., 2022). Carried out in an online environment, this work connects with the contribution of Urh et al. (2015), who established that gamification enables adjusting e-learning teaching to the personal needs of the learner. For these authors, the game is a system based on rules capable of specifying the way players interact with the game world itself, which is articulated through mechanics such as points, levels, missions or leaderboards and their relationships, as well as dynamics such as competition, collaboration, community or collection (Urh et al., 2015). It is important to note that game-based learning and serious games differ from gamified learning. While gamified learning tends to use game-like mechanics or components, including scores applied to real environments (Ghai & Tandon, 2022), game-based learning and serious games consist of full featured games, the main purpose of which is training, practice and interactions (Karagiorgas & Niemann, 2017; Krath et al., 2021). This methodology is included in the process to enhance interactions and facilitate contact between students in a relaxed manner and more laid-back environment.

The third educational methodology is online learning (OL), also called online education. Online learning and online education practices have been widely defined in the last three decades, but in most cases without clearly distinguishing them (Singh & Thurman, 2019). Both concepts are still grappling in parallel with the growth of technology. However, the essential elements for defining online learning are the use of technology, the articulation of synchronous or asynchronous environments, interactivity/learning activities, and the role of physical distance, while online education is mostly used to describe a non-physical framework for teaching (Singh & Thurman, 2019). Some research studies have confirmed that these online learning resources can increase student participation and satisfaction in both educational activities and their social interactions (Çebi, 2022). Other studies show how online learning resources help improve students’ academic performance (Paulsen & McCormick, 2020) and emotional and cognitive commitment (Vahedi et al., 2021). In our study, this third methodology was imposed by government regulations due to the period of confinement we were going through.

To summarise, the teaching method applied in this study is a Collaborative and Gamified Online Learning (CGOL) methodology, that is the result of combining the three above mentioned methodologies (CL + GL + OL: CGOL). Figure 1 is a simple preliminary computer graphic that provides a broad overview of all the characteristics it includes. A CGOL methodology only exists in the intersection between the three methodologies mentioned and excludes the use of only two of the three or partial combinations between them.

Fig. 1
figure 1

Collaborative and Gamified Online Learning (CGOL) elements

In this paper, we address the possible effects of CGOL on emotional well-being in higher-education students. Previous and recent reviews of the specific literature show mixed evidence, even though they tend to highlight the positive impacts on health and well-being (Johnson et al., 2016) and the role of CGOL as a facilitator of students’ emotional and cognitive learning (Torres-Toukoumidis et al., 2023). With the aim of analysing in greater depth the emotional and social aspects, this study’s proposed model is founded on an extension of Social Learning Theory based on Control-Value Theory of Achievement Emotions.

The control-value theory of achievement emotions (Pekrun, 2006) assumes that students’ emotions play a fundamental role in their learning, upholding the idea that the establishment of a positive atmosphere amongst students and the creation of emotional bonds between teachers and students provokes an increase in student performance and greater satisfaction and enjoyment with their own learning (Berweger et al., 2022). In this theory, ‘Control’ refers to a student’s perception and judgement of his/her capacity to affect the learning process and the results, whereas ‘Value’ refers to the relevance a student attributes to the learning task or results (Wu et al., 2021). In addition, said theory postulates that those methods can increase control of the activity in terms of competence and self-efficacy, and of engagement and involvement, enabling deeper knowledge of what has been learned (Darling-Hammond et al., 2020; Saqr et al., 2020).

On the other hand, the components of the social learning theory are attitudes, values and orientations that conform individual behaviours (Akers & Jennings, 2015). According to the social learning perspective, knowledge is not only formed through an individual’s attitude, but also while individuals interact and collaborate, highlighting the role of these interactions as a key aspect for a successful learning experience (Henning, 2004; Hill et al., 2009). Although this theory focuses on students’ social interactions instead of specific valuable experiences or emotional constructs and their relationships, it has been applied in environments and situations other than the ones that exist in the traditional classroom. This is the case of collaborative and gamified learning methodologies, which when used in cultural marketing (Ha et al., 2021) or education (Dikcius et al., 2021), have demonstrated their capacity to reinforce collaborative group interactions and the satisfaction and commitment of student learning.

To further understand how social interactions can facilitate positive experiences and emotional attractiveness, it is necessary to incorporate the control-value theory emotional measuring constructs to the social learning conceptual framework. In applying the control-value theory of achievement emotions in our study, we distinguish between student ‘control’, that is, his/her decision to participate (or not) in the different CGOL activities proposed during the semester to foment social interactions and generate a positive atmosphere; and ‘value’ (academic achievement or learning performance), that is, class- and test-related emotions.

The positive effects of students´ attitude and their social interaction on learning have been widely confirmed when using computer tool-based learning (see e.g., Kreijns et al., 2003; Reed et al., 2010). Nevertheless, even though there is a growing interest in the learning literature focused on the links between students’ attitude and emotions (Mirahmadizadeh et al., 2020), little is known about the effects of students’ attitude and social interactions on class- and test-related emotions.

2.2 Attitude as a second order construct

In the field of e-learning, there is evidence which suggests that students’ attitude, construed as ‘the evaluative students’ reactions, favourable or unfavourable, towards engaging in the target behaviour’ (Hagger & Chatzisarantis, 2005), might impact not only on the adoption of information technology, but also on academic performance (Aguilera-Hermida, 2020). Specifically, for the relationship between attitude and emotions, previous literature highlights that those educational programs are essential for encouraging an optimistic attitude and accelerating positive emotions during an individual’s learning process (Mirahmadizadeh et al., 2020; Yang et al., 2022). In this line, Mirahmadizadeh et al. (2020) also suggest that practitioners should develop strategic plans with the specific purpose of finding the weak points of educational systems, especially in pupils with stronger negative emotions. These plans are also considered an appropriate method for improving students’ learning performance during a global health crisis with periods of social distancing.

Attitude is a commonly studied construct in educational research and is often used as a predictor of behavior (Tatnall & Fluck, 2022). In some cases, attitude is treated as a second order construct, which means that it is seen as a higher-level construct that is made up of several sub-components or dimensions. For example, in the Technology Acceptance Model, attitude is seen as a second order construct made up of two sub-components: perceived usefulness and perceived ease of use (Davis, 1989). These two sub-components combine to form the overall attitude towards technology. Furthermore, Hagger and Chatzisarantis (2005), on measuring attitude as a (second)-order reflective-formative construct operationalised with instrumental and affective attitude, reported that the second-order models exhibited the most optimal parsimony-corrected fit indices. They also offer a framework around attitude based on two core concepts: ‘evaluative students’ favourable or unfavourable reactions’, and ‘engaging in the target behaviour’. In this study, attitude is also proposed as a higher (second)-order reflective-formative construct with three lower (first)-order reflectively measured constructs: perceived usefulness, entertainment and habit.

On this basis, attitude requires that students perceive that the knowledge to be obtained is (i) significant and useful (perceived usefulness). In order to achieve this, different studies show the need to previously increase students’ emotional engagement and motivation by means of techniques that foment empathy and self-reflection (Tan et al., 2022), and the capacity to resolve and channel the possible conflicts that could arise amongst students (Schnaubert & Bodemer, 2019). In the specific literature, Boateng et al. (2016) used data collected from a questionnaire administered to 337 students at the University of Ghana to support the idea that perceived usefulness has a direct relation with attitude in respect to the use of new technologies. The same conclusion was reached by Muñoz-Carril et al. (2021), who on the basis of the Partial Least Squares (PLS) method indicated that perceived usefulness in collaborative methodologies affected students’ attitude and their learning. Lastly, Lee et al. (2021) reviewed the literature to analyse the reasons that justify the acceptance of online learning amongst students, highlighting that one of these reasons is the perceived usefulness of this type of learning.

Furthermore, the capacity of education to affect students’ beliefs and attitudes through (ii) entertainment making use of traditional criteria, formulations and adapted logic, has also been analysed in the literature. Slater and Rouner (2002), who extend the vision of Bandura’s social cognitive theory of 1986, believe that entertainment-education to influence social values and attitudes are justifiable and established a relationship between entertainment and education. They highlight the capacity of education with entertainment to affect students’ beliefs and attitudes. In addition to that study, others that are not directly connected to the application of educational methods indicate a direct relationship between entertainment and attitude (Waiguny et al., 2012).

Finally, (iii) habit results from the relation between behaviour in a situation of learning acquired through practice, and its repetition. Habit affects the entire learning process, in addition to being connected to students’ personal characteristics, feelings and surroundings (Schmidt & Čreslovnik, 2010). Concerning the postulated relationship between habit and attitude, previous literature confirms that habits are functional, supported by actions in the past that have positive consequences; thus, many habits may be associated with positive attitudes (Verplanken & Aarts, 1999). Previous research confirms the frequency of the effect of past behaviour on future performance and postulates that it may contribute to intentions and behaviours guided by intentions (Ouellette & Wood, 1998). In respect to the learning atmosphere, research such as the one carried out by Greene et al. (2021) is considered. Their study focused on the efforts made by North American university students to obtain adequate online learning, highlighting the need for this habit to increase the possibility of acceptance of these procedures. Furthermore, after administering a questionnaire to students of Fine Arts in Singapore, Koh and Kan (2021) considered that students’ habits had a strong influence on learning with technological resources.

2.3 Social interaction

The other predictor of students´ participation in CGOL used in this study is their social interaction. Due to the predominant cognitive perspective on pedagogical methodologies for the last 50 years (Hill et al., 2009), one main pitfall of collaboration and social interaction is the assumption that social interaction is only a form of learning in cognitive processes, misjudging the effects of collaboration as a way to learn from a valuable experience (Kreijns et al., 2003). Social interactions generate the feeling that each member’s individual actions affect the group and (Alonso et al., 2019) and facilitate students’ critical and reflexive learning in an individual and collective manner. However, only defining working groups is not a guarantee for collaboration, and some incentives need to be defined within the groups (Kreijns et al., 2003). Many authors also postulate that social interaction is an important factor in remote group learning, suggesting that it is the key for collaboration (Liaw & Huang, 2000; Northrup, 2001; Kreijns et al., 2003). Furthermore, the specific literature confirms that the methods that seek to foment social interaction achieve deeper and longer-lasting learning attitudes through students’ autonomy and by enhancing the creativity of tasks (Passyn & Billups, 2019).

2.4 Research purpose and formation of hypotheses

The research purpose of our study is to analyse whether the use of CGOL methodologies contributes to reduce first-year academic emotional problems. To this end, we first try to check if the students´ attitude—comprising perceived usefulness, entertainment and habit-—and the social interaction these methodologies promote are related to students’ intention to participate in CGOL activities. Moreover, we analyse if this active participation in CGOL contributes to reduce students’ academic emotions in class and on tests.

The existing literature offers a strong conceptual background on the relationships proposed in this study’s research model. In order to determine the validity of this combination of educational elements, the following hypotheses have been established.

In this model, students’ attitude in the use of the online methodology is operationalised through perceived usefulness, entertainment, and habit. By operationalising attitude as a higher (second)-order reflective-formative construct, this study offers a unique perspective of attitude made up of these three lower (first)-order reflectively measured constructs. Higher order constructs reduce collinearity issues and help in the interpretation of results (Hair et al., 2017). It also reduces the number of hypothesised relationships and generates reliable and valid empirical results (Thien, 2020). All three dimensions, each with a different set of items, have different conceptual meanings as reflected in their measures and are thus measured as reflective first order constructs. Following Jarvis et al.’s (2003) guidelines, and according to the direction of causality, interchangeability of the items and their covariation, it can be deduced that attitude is a higher (second)-order formative construct that is measured by three reflective lower (first) order constructs depicted in Fig. 2. Finally, following the nature and objectives of this study, combining these three independent variables reduces the number of paths and improves the readiness and interpretation of the results. Furthermore, in the previous literature, attitude is extensively related with participation. In the scientific literature on education, this idea is linked to the one reflected in Darling-Hammond et al. (2020). Bearing in mind the implications of the emerging, cross-disciplinary body of knowledge called Science of Learning and Development for student learning, they point out that attitudes link academic efforts with students’ personal values. Additionally, Aguilera-Hermida et al. (2021) analysed the factors that determined online learning amongst students based on data provided in 109 questionnaires answered by students in four countries, concluding that said students’ attitude towards e-learning was considered relevant for their cognitive engagement. Therefore, the following hypothesis is formulated:

  • H1: The better the attitude is, the greater students’ participation in CGOL is.

Fig. 2
figure 2

Proposed model of CGOL participation of integrated concepts of Social Learning Theory and Control-Value Theory of Achievement Emotions

Hypothesis 2 (H2) considers the influence of social interactions on students’ participation. In respect to the educational sphere, previous studies such as Cerratto Pargman et al. (2018) highlight students’ capacity to configure technological resources as collaborative instruments by establishing multiple instrumental mediations between teachers and students. Furthermore, the work carried out by Strauß and Rummel (2021) with data obtained from German university students supports this interpretation, incorporating the need for prior support, regulation that is appropriate for the collaboration, and constant interaction to increase the satisfaction of interactions with digital resources. These conclusions support this hypothesis’ aim to determine whether the existence of social interactions of students with teachers, amongst others, predicts the use of proposed online educational resources and participation in CGOL. Therefore, in accordance with the previous literature, the following hypothesis is formulated:

  • H2: The better the social interaction is, the greater students’ participation in CGOL is.

Finally, hypotheses H3 and H4 study the relationship of students´ participation in CGOL with class- and test-related emotions, respectively. Hypothesis 3 (H3) aims to verify whether participation in the proposed CGOL has a positive effect on class-related emotions. Several studies have focused on this issue, such as Garnett et al. (2017), using control-value theory of achievement emotions to obtain predictors of physical education students’ behaviour and emotional engagement in their classes. Specifically, they studied changes in students’ participation in classes during one semester. Their results showed that students’ engagement was a fundamental factor to generate positive and internalised attitudes of the positive effect of attending classes. In this line, additional practice and better outcomes have been found in previous literature (Bergdahl & Bond, 2022). Thus, in accordance with control-value theory and previous research, the following hypothesis is formulated:

  • H3: The greater students’ participation in CGOL is, the better students’ class-related emotions are.

Lastly, Hypothesis 4 (H4) analyses whether participation in the proposed CGOL has a positive effect on test-related emotions. In this sense, Boulton et al. (2018) determined, with data obtained from undergraduate students at the University of Exeter, that a high degree of activity in a virtual learning setting is associated with higher marks, although a low degree of activity does not necessarily entail lower marks. More recently, Venkatesh et al. (2020) used data provided by first-year university students to conclude that students’ academic performance improved thanks to a combination of collaborative methods and the use of remote learning through technological resources, indicating as well that the performance expectations affected their satisfaction with regard to these combined methods. Thus, in accordance with the control-value theory and previous research, the following hypothesis is formulated:

  • H4: The greater students’ participation in CGOL is, the better students’ test-related emotions are.

Figure 2 shows the research model designed. This model aims to generate knowledge about the influence of individual attitude and social interactions on participation in CGOL and about the influence of participation in designed CGOL activities on students’ class- and test-related emotions.

3 Methodology

The data were analysed using the PLS technique and SmartPLS 4.0.8.3 software (Ringle et al., 2015). The use of this technique is recommended when the structural model is complex and includes many indicators and model relationships (Hair et al., 2019). Furthermore, with this technique we estimate the sign and significance of the different hypothesised relationships between the constructs of the structural model and evaluate the reliability and validity of the measurement model (Barroso et al., 2010), which is the primary objective of this study. Another reason for selecting Partial Least Squares-Structural Equation Modelling (PLS-SEM) is that it can handle non normal data (Hair et al., 2019). Our analysis of multivariate normality (Mardia, 1970) showed that Mardia’s multivariate skewness (β = 8128.7; p < 0.001) and multivariate kurtosis (β = 86.7669; p < 0.001) suggest the presence of multivariate non-normality.

3.1 Participants

This study uses quantitative research for surveying first-year university students. The sample units are students at a Spanish University enrolled in two degree programmes of the Schools of Economics and Law that shared a common principle: online sessions in which CGOL activities were applied across all the units.

Specifically, the CGOL activities were geared at first-year students enrolled in the same subjects taught during both the first and second semesters. Each CGOL methodology was adapted to the units and main concepts addressed in each subject. All the students included in the research were taught during the academic year 19–20 (second semester) or 20–21 (first and second semesters) and participated in the CGOL methodology during COVID-19 lockdowns.

The study population of first-year students enrolled at the School of Economics and Business Sciences and the School of Law in the 19–20 and 20–21 academic years consisted of 3387 students. The proportion of students enrolled by degree is 53.9% of students at the School of Economic and Business Sciences and 46.1% of students at the School of Law. The sample size consisted of 450 individuals, and following the sample collection process, 171 valid responses were obtained from students of Economics and Business Sciences and 130 valid responses were collected from Law students. To clarify the sample’s descriptive characteristics, since some universities are specialised in specific population segments such as middle age or professionals, detailed information of the students involved in the study is shown in Table 1. With a final sample size of 301 individuals, a sampling error of 5.39% is assumed with a confidence interval level of 95%.

Table 1 Descriptive results

3.2 Settings and educational process

Each CGOL activity designed was presented to the students after working on the related unit content. At least 2 hours of each unit were used for the activity, and when needed, teams could finish the activity working after class time. The process of delivery was as follows: after finishing the theoretical explanations, the teachers explained the section or unit activity and formed groups randomly to work online and separately in group online mode according to CGOL methodology. The instructions and materials for each game were previously uploaded to the platform. A forum was opened in each unit for uploading team results. Students had to upload their outcomes before the end of the lesson’s t time or during that afternoon. At the end of the day and before beginning the next activity, the teachers assessed the activities with 1 to 10 points according to their accuracy. Tables 2 and 3 show games designed and their connection to course content, and the gamification and collaborative elements included, respectively.

Table 2 CGOL Activities
Table 3 Elements, mechanics and dynamics of gamification in CGOL methodologies and activities

After having completed all those procedures and taken an exam at the end of the term, the students answered a questionnaire to evaluate the whole CGOL methodology designed, and their class- and test-related emotions. During those two years, and due to COVID-19 limitations, the weight of continuous assessment changed and was higher than in previous years, becoming the sole assessment methodology for those students participating in this evaluation system (others could directly take the final exam to obtain their grade in the subject). As a result, students could only pass the subject if they had more than 5 out of 10 points in both the CGOL activities and the final exam. The CGOL activities entailed 40% of the final grade and the exam entailed 60%. In addition, for the first time the preparation of the subject was entirely online. The two classes followed this CGOL and continuous assessment methodology for three semesters. Due to these circumstances, we try to assess whether the emotional response to the class and tests could be positive based on the whole CGOL methodology designed, instead of focusing on the heterogeneity of each specific CGOL activity.

3.3 Measurement instrument

The questionnaire was developed to cover the purpose of the study, based on previous literature. To validate the questionnaire, 10 experts on the subject evaluated the content validity, and a pre-test was launched with a small group of 20 students. As a result of the validation process, 2 questions and 4 ambiguous concepts were modified.

The final questionnaire for the collection of information is composed of 7 constructs: Perceived Usefulness (PU), Entertainment (ENT), Habit (H), Social Interaction (SI), Participation (P), Class-Related Emotions (CRE) and Test-Related Emotions (TRE). As shown in Table 4, all constructs were measured with three or more variables. The measurement variables were adapted to the context of online learning to be included in the questionnaire, and Pekrun’s Achievement Emotions Questionnaire was followed to develop the two constructs related to emotions (CRE and TRE). We decided to only study class- and test-related emotions, since the last construct of the Achievement Emotions Questionnaire, learning emotions, is mostly related with cognitive and affective drivers, and the changes in our methodology were primarily related with the place where the subject was taught and the tests were delivered, going from a physical environment to an online environment.

Table 4 Variables and Dimensions

Six sociodemographic variables were used to collect information about the respondents, namely age, education level, gender, household income, marital status and occupation. We designed different formats according to the variable that was being measured; for example, to measure gender, a nominal variable was used. However, to collect the responses of the constructs included in the model, 7-point Likert scales were used in all cases, ranging from (1) totally disagree to (7) totally agree.

3.4 Data collection

The information was collected through the self-administered questionnaire handed out during classes by the researchers participating in this study at the end of the academic period. Based on the researchers’ proximity to the students, a non-probabilistic sampling method was employed (convenience) according to the selection criteria of the sample elements. This technique was considered to be the most appropriate data collection method for the study.

3.5 Measurement model estimation

3.5.1 Common method bias

Common method bias is typically associated with data derived from a single source (Avolio et al., 1991) and can pose issues in self-reported quantitative studies (Spector., 2006). Common method bias can have a negative impact on validity (MacKenzie & Podsakoff, 2012) and can affect structural relationships (Kline, 2016). Statistical control (Reio, 2010) is an approach to minimise the risk of common method bias. With the aim of checking the Common Method Bias, the study employs Harman’s single factor test. The total variance explained by single items is less than 50% and according to Harman’s test confirms the absence of a common method bias (Fuller et al., 2016; Podsakoff et al., 2012).

3.5.2 Assessment of reflective constructs

Table 5 shows the values of each measurement model item in the first-order reflective constructs. There is high internal consistency, as demonstrated by a composite reliability of >0.7 and Cronbach alpha of >0.7. Convergent validity is established with average variance extracted (AVE) >0.5 (Hair et al., 2017). Additionally, regarding the primary components, all of the primary components of the first-order reflective construct exceed the minimum threshold value, greater than or equal to 0.707 (Hair et al., 2011), except item 1.3.4 in Habit and 2.1.1f in Class-Related Emotions (with values lower than 0.6 in both cases), so the scales were refined by eliminating both items.

Table 5 Variables, dimensions, loads, composite reliability and average variance extracted (AVE)

The reliability of the constructs was evaluated through composite reliability (ρc), whose values must be greater than 0.7. As these values are higher in all the model constructs, a high internal consistency is confirmed (see Table 5). Finally, convergent and discriminant validity were evaluated. An AVE value greater than 0.50 establishes that more than 50% of the variance of a construct is explained by its indicators (Hair et al., 20112014). The mean extracted variances of our constructs exceed the value 0.5 in all cases.

To analyse the discriminant validity, three procedures were used: the Fornell-Larcker criterion, the criterion of the cross loads and the Heterotrait Monotrait Ratio criterion. The Fronell-Larcker criterion confirms that the AVE of each latent construct is greater than the variance that said construct shares with the model’s other constructs (Hair et al., 2011). Thus, the correlations between the constructs are found to be lower than the square root of the AVE (See Table 6).

Table 6 Discriminant validity of first-order constructs –Fornell-Larcker’s criterion

The second criterion examines if each indicator loads more heavily on its construct than on the rest of the model’s latent variables (Hair et al., 2011). As shown in Table 7, this criterion is validated. Table 8 shows the third criterion (Heterotrait Monotrait Ratio), where all correlations between constructs are less than 1.00. Therefore, according to Richter et al. (2016), there exists discriminant validity.

Table 7 Cross loadings Matrix
Table 8 Discriminant validity of first order constructs (HTMT)

3.5.3 Assessment of formative constructs

In this research study, attitude was introduced as a higher-order construct of type two (reflective-formative). To evaluate this construct, its aggregate values were used (Wright et al., 2012). At this point of the model validation process, the measurement model had to be re-evaluated to test the nomological structure. As Table 9 shows, the composite reliability (ρc) presented a value over 0.70. All items’ λ, in turn, are higher than 0.60 (Hair et al., 2014). Finally, convergent validity was assessed via the items´ AVE, showing that all values were over 0.50 (Hair et al., 2011, 2014). Moreover, all the variance inflation factor (VIF) values of the predictor constructs, Perceived Usefulness, Entertainment, and Habit, were below 3, showing that collinearity is not an issue between them (Hair et al., 2019).

Table 9 Analysis of second-order model’s individual reliability, composite reliability and convergent validity

3.5.4 Assessment of the structural model

To evaluate the results of the structural model, we evaluated the significance of the path coefficient, the R-square, and the predictive relevance, Q-square.

Validation of the structural model starts with the examination of R2 values and the Stone-Geisser test (Q2), both reported in Table 10. The R2 value indicates the amount of variation of the construct explained by the model, reaching values greater than 0.1, which are considered valid (Falk & Miller, 1992). Another measure of predictive power is the Q2 test: if the value is greater than 0, there is predictive relevance (Hair et al., 2011). Finally, the multicollinearity of independent variables was tested using the VIF. All values for VIF were below 6.139, which is under the limit considered problematic (Vittinghoff et al., 2006). Thus, multicollinearity was not an issue in this research study (Hair et al., 2012).

Table 10 Variance explained and the Stone-Geisser test

We also checked the Goodness of Fit index. We used standardised root mean square residuals (SRMR), which is a measure of approximate fit, to test the structural Goodness of Fit model (Henseler & Sarstedt, 2013). The value of SRMR should be less than 0.10 in the estimated model to be considered a good fit in a non-conservative interpretation (Hu & Bentler, 1999). The estimated model’s SRMR value is (SRMR = 0.095), which means that it is considered a good fit under a non-conservative interpretation.

The process finalised with the application of the confidence intervals technique to confirm the above findings. Estimated path coefficients β with confidence intervals which do not include zero allow us to reject the hypothesis that β equals zero (Henseler et al., 2009). The results obtained confirmed that all hypotheses are empirically supported, as shown in Table 11.

Table 11 Assessment of the structural model

According to the results of the analysis, the proposed structural model is considered valid, and the results confirm that AT (H1) β = 0.758 (t = 20.728; p < 0.001) and SI, with a smaller effect, (H2) β = 0.118 (t = 2.579; p < 0.010) are predictors of P. In turn, P is a predictor of CRE (H3) β = 0.549 (t = 10.713; p < 0.001), and TRE (H4) β = 0.538 (t = 11.451; p < 0.001). Therefore, all direct hypothesised relationships (H1–H4) are supported (see Fig. 3).

Fig. 3
figure 3

Structural model with t values

4 Discussion, conclusions, and future implications

4.1 Discussion and conclusions

In this study we wanted to analyse whether the use of CGOL methodologies might have a positive impact on first-year university students’ emotions regarding classes and tests. To this end, using PLS-SEM modelling we analyse whether students´ attitude and social interactions contribute to enhance participation in CGOL. Secondly, we examine the association between participation in the designed CGOL methodology and students’ class- and test-related emotions.

To begin with, we find that attitude—operationalised by perceived usefulness, entertainment and habit— might be associated with greater participation in CGOL (H1), which is in line with Darling-Hammond et al. (2020) and Aguilera-Hermida et al. (2021). Thus, our results also point to the idea that perceived usefulness, entertainment and habit have an indirect and positive impact on students’ participation in CGOL resources. In consequence, educators and trainers who are facing the challenge of designing CGOL methodologies have to verify that students perceive this usefulness, which occurs specifically when these digital resources are found to be valuable, practical and to have inspired students during their learning process. Moreover, the entertainment, that is to say, the enjoyment that this digital resource brings to students is also considered an important factor when designing CGOL methodologies. Regarding habit, the third component of attitude, the results confirm the idea that students prefer to use these digital resources rather than other training alternatives, in particular when students need to prepare the content of the lessons. Furthermore, this might lead the way to finding new methodologies in which to apply some of these resources, with the aim of making university classes more enjoyable and attractive to students.

The results also show that social interactions with fellow students, that is, tasks carried out with classmates and with assessments and group evaluations by the teacher, contribute to enhance students’ participation in CGOL. The outcomes are thus in line with Cerratto Pargman et al. (2018) and Strauß and Rummel (2021), and support H2. During a period of social isolation, students probably felt that those methodologies helped them mitigate loneliness and experience ‘physical distancing’ rather than ‘social distancing’, which is in accordance with other studies carried out during the pandemic (Brambilla et al., 2021). The probable reason for a smaller effect than expected is that these first-year university students had no possibility of interacting with classmates because of confinement.

Therefore, we find that both constructs —attitude towards digital resources and social interaction— increase participation in CGOL.

We also wanted to test whether this greater participation might be associated with better student emotions regarding classes and tests. Numerous studies have evaluated and discussed the correct adaptation and performance of assessment instruments during COVID-19 (Adedoyin & Soykan, 2020; Bopegedera, 2020; Brambilla et al., 2021; Kharbat & Abu Daabes, 2021). However, the effect of adopting teaching methodologies in respect to learning and test emotions was understudied. As expected, there are also strong linkages between participation in CGOL and variables of emotions in learning and tests. From the Achievement Emotions Questionnaire developed in Pekrun et al. (2011), we find that increasing CGOL participation of students might enhance the latter’s feelings regarding classes and tests. In consequence, H3 and H4 are supported. In accordance with H3, our outcomes show that (i) before going to class participants felt confident about attending them and did not feel uneasy; while in class (ii), participants enjoyed being there and did not become embarrassed or bored; and after attending classes (iii), they were proud of themselves and did not feel uneasy. This result supports previous work such as that of Garn et al. (2017), albeit our study refers to higher education instead of childhood education. Regarding test emotions H4, we find that this greater participation might also improve test emotions and reduce anger, anxiety, and hopelessness. This result seems to be in line with Boulton et al. (2018) as well as Venkatesh et al. (2020) and provides new and complementary evidence to Roos et al. (2022).

The main conclusion of this study is that a CGOL methodology increases students’ positive academic emotions. In light of these outcomes, attitudinal and social interaction components can be considered critical elements of students’ participation in CGOL methodologies and activities, confirming them as precedents of the control element in control-value theory of achievement emotions. On the other hand, the level of participation in CGOL activities impacts students’ class and test emotions. These results provide new findings to the literature regarding computer mediated online learning and can help educators design learning scenarios to deal with student anxiety, stress and motivation.

4.2 Theoretical recommendations

The most notable theoretical contribution of the study is the confirmation of how the attitude towards the use of collaborative and gamified learning methodologies and activities is measured for the first time in learning literature as a type two higher-order (reflective formative) construct explained by perceived usefulness, entertainment and habit in comparison with previous studies. This research thus makes a significant contribution to the learning literature by describing their interrelationships. Moreover, we also show for the first time that attitude and social interaction are precedents of participation in CGOL and confirm the positive relationship between the use of CGOL methodologies and students’ emotions before, during and after classes, and before and during the tests as well, in a context in which the students hardly know each other.

Our outcomes verify that control-value theory of achievement emotions can be used as a way to enhance social interaction theory with regard to emotions. Additionally, we include social interactions, perceived usefulness, entertainment and habit as control-related constructs for the first time. This way, we provide additional evidence for theoretical strands usually developed in the related literature (such as control-value theory or technology acceptance model), highlighting that this model is also valid during a period of social stress and compulsory isolation in which most universities were forced to implement online learning systems and teaching needs to find new paths to achieve their learning objectives.

Moreover, our study reinforces the role of academic emotions during a period of higher stress and anxiety, such as the COVID-19 pandemic, in which students face mental health challenges such as domestic problems, depression, mental issues and suicidal thoughts. Moreover, in a concrete group such as first-year university students, those problems might be especially pronounced. Using digital resources might help them reduce these possible mental health problems by enhancing their emotions towards classes and tests and improve their general well-being.

4.3 Practical recommendations

Digital training has boomed in recent times and seems to persist in university education. The pandemic has shown that despite the difficulties, CGOL might have beneficial effects on students. Although face-to-face university teaching should not be substituted, our study shows that the use of digital resources for online training contributes to improving students’ positive emotions. For this reason, universities might consider maintaining or at least increasing the online or blended teaching model (face-to-face and online). In a digital world in which university students are considered digital natives, the use of these methodologies fits with their way of conceiving teaching.

The insights also provide support for online learning in the post-pandemic era, and more specifically, for generating positive emotions. We find that attitude is the main predictor of using CGOL resources. Contrary to what might be expected for first-year university students, attitude influences the participation in CGOL methodologies even more than social interaction. This finding might help teachers prioritise perceived usefulness, entertainment, and habit as key drivers to enhance students´ attitude towards these methodologies.

4.4 Limitations and future research

This study makes use of concrete data from first-year students at the School of Economics and Business Sciences and the School of Law at a specific university. It would be advisable to replicate the study at other universities, and to make use of longitudinal data with the aim of detecting possible temporal effects. Furthermore, this study was geared at making a first attempt to analyse the holistic CGOL effect on positive emotions, independently of the subject studied and the specific CGOL used or the metacognise awareness of the team members. Future studies might expand this knowledge in connection with specific CGOL activities and concrete emotional effects, learning effects and performance effects. In addition, future studies could focus on the process of applying CGOL activities, describing the main phases and defining each phase content.

The conclusions should be interpreted with caution, as they might lead to different results in other settings, cultures and age groups (secondary education or even lifelong learning courses). Moreover, learning-related emotions are not considered in the present study and the robustness of the model was not checked. It would also be challenging to analyse whether the methodologies applied might also have effects on learning emotions.

Finally, it would be inspiring to study whether drivers other than those included here might have effects on attitude or on other constructs that differ from the ones studied in this paper, such as effort, stress or academic performance.