Author Topic: Hey, i'm new here, please, help!  (Read 1841 times)

Volod

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Hey, i'm new here, please, help!
« on: January 05, 2020, 10:21:23 pm »
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!
« Last Edit: January 06, 2020, 12:33:42 pm by Volod »

KeiDash

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
  • Software developer
    • View Profile
    • amelian.eu
Re: Hey, i'm new here, please, help!
« Reply #1 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.

Volod

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Hey, i'm new here, please, help!
« Reply #2 on: January 08, 2020, 08:35:43 am »
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.
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?

 

Sitemap 1 2 3 4 5 6 7 8 9 10