Sega Saturn Development > General Jo Engine Help
Hey, i'm new here, please, help!
(1/1)
Volod:
Hello, everyone!
I am new here, and i am just starting to learn Sega Saturn programming, and... i have really much questions right now! I've already studied some parts, but this is still sooo not enough... it is... really very little number of knowledges...
So... i want to ask all of you really a lot of questions here... I'm sorry if sometimes I will bother you with my questions...
Ok, this are my first questions:
1.How to create a comand that will be executed after a certain specified time, that i set, after starting the game?
2.Is there some way to create something like... rooms from Gamemaker or like frames from Clickteam Fusion (i hope, you understood me), and is there some way to make transition between them (how to go from one of them to another?)
Thanks!
KeiDash:
Hello and wellcome.
Don't worry, all of us have doubts when we start, so, relax.
Answering your questions:
1) You can use the timer function called jo_get_ticks. If I'm not wrong, each tick represent 1 frame, and 60 frames represent 1 second so you will be able to make a piece of code for calculate it. As example, what I would do is create a function that never close and return seconds when I call it, in the second core of the sega saturn (jo_add_slave.....). So, if in a global var you set the time that you need to know if was pased or will come, you will be able to know it.
2) Nope, this doesn't exists. This isn't a game maker by clicks like gamemaker or other softwares. You must to create your desings and implement it in code.
Volod:
--- Quote from: KeiDash on January 07, 2020, 10:19:41 pm ---Hello and wellcome.
Don't worry, all of us have doubts when we start, so, relax.
Answering your questions:
1) You can use the timer function called jo_get_ticks. If I'm not wrong, each tick represent 1 frame, and 60 frames represent 1 second so you will be able to make a piece of code for calculate it. As example, what I would do is create a function that never close and return seconds when I call it, in the second core of the sega saturn (jo_add_slave.....). So, if in a global var you set the time that you need to know if was pased or will come, you will be able to know it.
2) Nope, this doesn't exists. This isn't a game maker by clicks like gamemaker or other softwares. You must to create your desings and implement it in code.
--- End quote ---
Hey, thank you very much! But... can you tell me more about this? How can i use it? For example: i want to make such a game, in which some new picture or music for example will appear (or begin to play, if it is some soundtrack) after 3 seconds after starting the game, how can i make this? And also... does this work if i want something to happen after something else, besides of starting the game?
Navigation
[0] Message Index
Go to full version