Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Joey H.

Pages: [1]
1
The Axe Parser Project / Game BGM during runtime
« on: February 17, 2022, 10:20:09 pm »
G'day!
I have regained my interest in programming with Axe again, and I began to wonder about this:
Is there a way to play music while my game is running with a 4-channel tracker (similar to the Musictunes' way of running audio:https://www.cemetech.net/downloads/files/176/x176)? Although I have got the feeling that this is not possible to implement without lagging the game to a HUGE degree, I believe it was worth asking. Here is an example of something (from MobileTunes) that is like the sound I'm looking for (in the attachments).  Please take a look at Mobiletunes to see what I mean about the "programming" of the tunes. I'm honestly very curious about this. I couldn't find anything when I looked it up.

2
The Axe Parser Project / Re: Flickering Text (and collision?)
« on: June 04, 2021, 09:37:47 pm »
Whoa! You're good!
Well, Thank you very much, that's all for now!
Thanks!!!

3
The Axe Parser Project / Re: Flickering Text
« on: June 04, 2021, 09:17:08 pm »
I'm certainly learning a lot here!
Among all of this, how might I add a system which responds when there is a collision between this "block" (what you have to dodge) and the character doing the dodging?
Will this slow it down a lot or is there a better way than how I'm approaching it?:
Code: [Select]
If B>44
If A>(X-8) and A<(X+8)
Pt-Off(X,Y,Pic3)
Goto D
End
End
B is the Y coord. of the block, X is the X of the character, A is the X of the block

4
The Axe Parser Project / Re: Flickering Text
« on: June 04, 2021, 08:54:06 pm »
All right!
That seems to work now!
One last look:
Code: [Select]
.DODGEB2 Dodge Da Blocks!

[3C42A5A581BD423C]→Pic1
[FF81A5A581BD81FF]→Pic2

DiagnosticOff
ClrHome

48→X
52→Y
0→B
rand/745→A
1→C
0→D
Fix 0
Fix 5

Repeat getKey(15)
Pause 5
If getKey(2) and (X≠0
X-1→X
End
If getKey(3) and (X≠88
X+1→X
End
!If B≥64
B+C→B
Else
D+1→D
0→B
rand/745→A
End

ClrDraw
Text(1,0,"DODGED:")
Text(32,0,DDec)
Pt-On(X,Y,Pic1)
Pt-On(A,B,Pic2)
DispGraph

Lbl B
End

Fix 4

Thank you very much!
But my apologies about the double (or triple) posting... I was a bit confused with myself; and also, I had a feeling already that it wasn't polite, but thank you for confirming it!

5
The Axe Parser Project / Re: Flickering Text
« on: June 04, 2021, 08:38:13 pm »
The entirety of my code:

It is a tad shaky, but here it is!


When I add the Fixes it does the same thing, same issue...:
Code: [Select]
.DODGEB2 Dodge Da Blocks!

[3C42A5A581BD423C]→Pic1
[FF81A5A581BD81FF]→Pic2

DiagnosticOff
ClrHome

48→X
52→Y
0→B
rand/745→A
1→C
0→D
Fix 0
Fix 5

Repeat getKey(15)
Pause 5
If getKey(2) and (X≠0
X-1→X
End
If getKey(3) and (X≠88
X+1→X
End
!If B≥64
B+C→B
Else
D+1→D
0→B
rand/745→A
End

ClrDraw
Text(1,0,"DODGED:")
Text(32,0,DDec)
Pt-On(X,Y,Pic1)
Pt-On(A,B,Pic2)
DispGraph

Lbl B
Fix 4
End


Oh. Wait!!!!
It works when I do it now! Where do I put the Fix 4 Recovery line of code now?
Code: [Select]
.DODGEB2 Dodge Da Blocks!

[3C42A5A581BD423C]→Pic1
[FF81A5A581BD81FF]→Pic2

DiagnosticOff
ClrHome

48→X
52→Y
0→B
rand/745→A
1→C
0→D
Fix 0
Fix 5

Repeat getKey(15)
Pause 5
If getKey(2) and (X≠0
X-1→X
End
If getKey(3) and (X≠88
X+1→X
End
!If B≥64
B+C→B
Else
D+1→D
0→B
rand/745→A
End

ClrDraw
Text(1,0,"DODGED:")
Text(32,0,DDec)
Pt-On(X,Y,Pic1)
Pt-On(A,B,Pic2)
DispGraph

Lbl B
End
EDIT: (Zeda) Merged double-posts.

6
The Axe Parser Project / Flickering Text (and collision?)
« on: June 04, 2021, 07:53:51 pm »
Hello!
I am new here on this Forum and hope to learn a thing or two sooner or later about Axe Parser!
Call me Joey.
Since I'm new here, this may be a rather dumb question, because I cannot seem to find anyone else with the same problem here...
Anyway, my very first question to ask is as follows: The Text in my game displaying the score to the player is flickering and really lagging up the game...
This is what loops every frame:
Code: [Select]
ClrDraw
.Text(1,0,"SCORE:")
.Text(32,0,D►Dec)
Pt-On(X,Y,Pic1)
Pt-On(A,B,Pic2)
DispGraph
It's pretty clear that this would flicker the text, but I do not know how to fix it...
How might I go about making this issue stop? (Thanks in advance)

Pages: [1]