Enter the Ring
Root / Talk About Programs / [.]
SoupCreated:
so uh i figured out mml so i'm gonna try to make some good music. it's not as hard as my tiny brain thought. also i did it mostly on my own. (edit because of afterthought) of course not WELL but i can make it make sound. but uh i would like to know how i can get a note to go longer than 1 cuz for some reason the higher a number gets the shorter the note gets.C1 plays a whole note. If you want it to get longer, change the speed with T, like T120 is the default, T60 is half the speed.
screenshots to demonstrate the visual changes that are being made.
some might call it a stupid downgrade that overcomplicates things. i call it a stupid downgrade that overcomplicates things. just kidding i don't. i call it aesthetic changes and severely limiting controls to just one method of attack. in other words, a NESing.
ok so i can probably handle random events on my own but like uh i'm gonna need help with a health system for both enemies and the player. and on second though if i can't handle it i'll probably need help with random events.With enemy and player health, just create a variable for them at the beginning of your code:
VAR PHEALTH=50'Create variable. This is assuming you want their health to be 50. VAR ENHEALTH=50If you want to fight multiple enemies at once, you can use an array:
VAR PHEALTH=50'Create variable DIM EHEALTH[max number of enemies]'create array FOR I=0 TO LEN(EHEALTH)-1'Set array values EHEALTH[I]=50 NEXTThen, every time someone gets hit, you decrease the value of that variable by how much damage that hit does. When it reaches or goes below zero, you kill that person/thing:
IF PHEALTH<=0 THEN PDEAD DEF PDEAD 'Death code goes here 'You will want to reset their health or they will keep dying. ENDIt might be helpful to have a healthmax variable, so that you can increase the maximum health.
VAR PHEALTHMAX=50 VAR PHEALTH=PHEALTHMAX WHILE 1'Main loop VSYNC IF PHEALTH>PHEALTHMAX THEN PHEALTH=PHEALTHMAX WENDThis demonstrates how you can set the player health as its maximum. In the WHILE loop, it shows how to keep the health from going over. I hope this helps.
With enemy and player health, just create a variable for them at the beginning of your code:ok i will look over this. i don't plan to have multiple enemies at once though so thank you for that but i'm gonna keep it 1on1.VAR PHEALTH=50'Create variable. This is assuming you want their health to be 50. VAR ENHEALTH=50If you want to fight multiple enemies at once, you can use an array:VAR PHEALTH=50'Create variable DIM EHEALTH[max number of enemies]'create array FOR I=0 TO LEN(EHEALTH)-1'Set array values EHEALTH[I]=50 NEXTThen, every time someone gets hit, you decrease the value of that variable by how much damage that hit does. When it reaches or goes below zero, you kill that person/thing:IF PHEALTH<=0 THEN PDEAD DEF PDEAD 'Death code goes here 'You will want to reset their health or they will keep dying. ENDIt might be helpful to have a healthmax variable, so that you can increase the maximum health.VAR PHEALTHMAX=50 VAR PHEALTH=PHEALTHMAX WHILE 1'Main loop VSYNC IF PHEALTH>PHEALTHMAX THEN PHEALTH=PHEALTHMAX WENDThis demonstrates how you can set the player health as its maximum. In the WHILE loop, it shows how to keep the health from going over. I hope this helps.
i've been doing some thinkering and i've decided that i wanna make a top-down style adventure rpg type deal using the characters and battle system (once it's finished) from this. that of course might need a bit of outsourcing if that's all fine and diddly doo or whatever. but that process will indeed wait until i'm done making the battle system. so i mean if you're interedasted please help me i need game development experience because i want to make a big and boinging series in the future as an independent studio. that's my dream. and learning a language is the best place to start. but until then i need to finish the battle system. side note that does mean i'm TECHNICALLY canning this but i'm ALSO technically not because i'm just adding it to a bigger project.
DEVELOPMENT PROGRESS UPDATE: i am in the process of re-overhauling and re-redesigning the visuals as well as formulating a story and world. i have made 4 music tracks: 3 boss themes and mediocre desert music. the current state of affairs is: i need help on programming a top-down adventure RPG, possibly even outsourcing some of it. the battle system is still incomplete but in due time i suppose. so if there's anything you can do please help me.
DEVELOPMENT PROGRESS UPDATE: i am in the process of re-overhauling and re-redesigning the visuals as well as formulating a story and world. i have made 4 music tracks: 3 boss themes and mediocre desert music. the current state of affairs is: i need help on programming a top-down adventure RPG, possibly even outsourcing some of it. the battle system is still incomplete but in due time i suppose. so if there's anything you can do please help me.Top down is kinda hard for me to explain. All I can say is, make it so that the player can move up, down, left, and right. Then BGGET is useful for BG to SP collision if you are using BG.
i have some good music in the works but that's it in terms of programming. i don't really know how i wanna do this. kinda tired and school starts like tomorrow or something too. just a little update. i haven't secretly dropped this project entirely or anything. just kinda sapped for ideas. battle system stil needs finished and worked into an actual game. oh also spstop i don't think is gonna help me with idle animations.