00:00
00:00
alexlunnen
yes I'm OreoScarFire
.
Pfp by CootieGirl
Welcome to my page :]
I draw stuff n animate. SFW/E & T stuff! PLEASE don't repost/take my stuff without credit/permission!!
COMMISSIONS OPEN

OreoScarFire @alexlunnen

nonbinary (he/they)

Bday; 03/30

Alex's office or Hell

Joined on 3/18/21

Level:
24
Exp Points:
6,050 / 6,400
Exp Rank:
7,291
Vote Power:
6.56 votes
Art Scouts
5
Rank:
Police Officer
Global Rank:
18,387
Blams:
38
Saves:
505
B/P Bonus:
10%
Whistle:
Normal
Trophies:
8
Medals:
719
Supporter:
6m 28d

Coding help

Posted by alexlunnen - February 19th, 2024


I'm trying to make a shooting game (Alex Game 3) and after you kill all the enemies (the uberkids) you are just stuck there moving around doing nothing does anyone know how to make it where after you kill all of the enemies you get the win screen and move on to the next part of the game


Comments

- create a variable that holds the number of enemies that are present in a level
- each time an enemy is killed, decrease it by 1
- when the variable reaches 0, show the win screen

The thing is that I have super little coding knowledge and the code is from someone else sadly, I tried to do something with the "kills = 0" and adding a "kills" to each time the enemy gets killed but it won't work.

@Gimmick @alexlunnen whats the coding language?

Adobe flash ActionScript 2.0

My advice is run. Run away and never look back. :u

i could help u

I know you use flash 8 lol so you probably know what I need

@NevaZ0r @alexlunnen i know not munch of as2 but as3 maybe i know a bit but not that munch, so maybe i can help, just pass me your fla

There’s something that is stopping the scoring code to work you can try to figure out what’s wrong I’ll dm you the file