00:00
00:00
Minix07
i make a da game

Male

riddle school

earth

Joined on 1/13/24

Level:
5
Exp Points:
246 / 280
Exp Rank:
> 100,000
Vote Power:
4.39 votes
Rank:
Civilian
Global Rank:
84,341
Blams:
17
Saves:
54
B/P Bonus:
0%
Whistle:
Normal
Medals:
85

Making games works! | Newgrounds Sim Devlog #2

Posted by Minix07 - 4 hours ago


For the last few days, I've tried to switch to using classes (which I heard were better). However, they only really work on "one frame games", which my game isn't, So I had to "rollback" my stuff. I then worked on the hardest part, making it so the user can make a flash game. Thankfully, that Is mostly over! Here is how it works


First, you pick the project (right now only Stick works)


iu_1399549_20701035.webp


Then, give it a really cool name


iu_1399550_20701035.png


It will then run this whack-ass code

if (global.projectsInWork < 3) {
		var title: String = this.titletx.text;
		global.projectsInWork++
		trace(global.projectsInWork + " projects in work")
		switch (global.flashChosenOne) { //nested ass switch case
			case "stick":
				switch (global.projectsInWork) {
					case 1: // shitty ass code wtf
						global.flashInWork.first = title + ",stick," + String(global.stickDays) + "," + "10," + String(global.stickFP);
						trace(global.flashInWork.first);
						break;
					case 2:
						global.flashInWork.second = title + ",stick," + String(global.stickDays) + "," + "10," + String(global.stickFP);
						trace(global.flashInWork.second);
						break;
					case 3:
						global.flashInWork.third = title + ",stick," + String(global.stickDays) + "," + "10," + String(global.stickFP);
						trace(global.flashInWork.third);
						break;
				}
			case "asdasd":


		}
		this.gotoAndStop("wrap");
	} else {
		this.gotoAndStop("overload");
	}


Then give it 2 days and.... IT WORKS!!! (as long as you ignore the invaild)

iu_1399548_20701035.png


Anyways that is really it, any suggestions would be appreciated!


Tags:

Comments

Comments ain't a thing here.