Work in Progress

Untitled.io

4

DJMoffinz 2019-10-27 22:22 (Edited)

Instructions:
D-pad to move

Updatelog:
Original - Moving snake/worm head
v1.1 - Continuous movement when not touching D-pad
v1.2 - Added Title Screen
v1.3(Current) - Fixed mute (sort of)

Untitled.io 1.2.nx | Open in app
2019-10-29 10:06
Untitled.io 1.1.nx | Open in app
2019-10-29 07:50
Untitled.io (wip).nx | Open in app
2019-10-27 22:22

Timo 2019-10-28 18:17

Next step: make the head move without stopping. Do you have an idea already how to do it?


DJMoffinz 2019-10-28 21:48

Hmmm, if you put an extra bit in the code that told it that when one of the buttons on the d-pad is pressed just move in one direction on a loop maybe?


DJMoffinz 2019-10-28 21:48

Oh wait that wouldn’t work.


DJMoffinz 2019-10-28 21:48

I’ll think a bit more about it.


DJMoffinz 2019-10-29 06:36

@Timo
If I used a REPEAT UNTIL then it might work.


Timo 2019-10-29 07:19

You don’t need special commands for it, but work with variables and more IF-THEN logic. Use a variable for the direction, one IF part where you check the gamepad and set the direction, another IF part to change the co-ordinates depending on the direction.
Understanding IF logic and variables is the key for programming. Did you do the BASIC tutorial on this website?


DJMoffinz 2019-10-29 07:29

I watched the two part YouTube tutorial, but no I haven’t done the actual tutorial itself.


DJMoffinz 2019-10-29 07:37

Wait I can’t find the tutorial.


DJMoffinz 2019-10-29 07:37

IS the video the tutorial?


was8bit 2019-10-29 07:39

I just now upgraded my squiggle program... you can now use the gamepad to move the red squiggle.... :)


was8bit 2019-10-29 07:41

Tuturial is here..

https://lowresnx.inutilis.com/topic.php?id=306


DJMoffinz 2019-10-29 07:52

Thanks! And Untitled.io has been updated too! (I put the music in the code for you.)


was8bit 2019-10-29 07:54

Fixed... :)

Untitled.io 1.1b.nx | Open in app
2019-10-29 07:54

was8bit 2019-10-29 07:55

I changed the square to a left pointing arrow to make it repeat

Then i added the MUSIC command to your code....

And ... presto :)


DJMoffinz 2019-10-29 07:59

Yay! This is great!


was8bit 2019-10-29 07:59

Just a comment... while in the PATTERN EDIT, all 4 VOICES will simultaneously play... you place any track into any voice...


was8bit 2019-10-29 08:02 (Edited)

If you only want 1 voice to play then place each track into the first voice only... if you have made 11 single tracks and want them all to play in order, you will need to put track 0 into pattern 0, track 1 into patten 1... finally pattern 11 into pattern 11... all into voice 0


DJMoffinz 2019-10-29 08:26

Ok, cool! Also how do you make a title screen because that’s what the music was actually made for, not the game itself. Thanks for putting it in though!


was8bit 2019-10-29 08:36

I usually use the Background Designer... l keep the size at default (20x16)

Then to show it, the code is BC COPY 0,0,20,16 TO 0,0 also add a line with MUSIC

later, use CLS and then STOP to clear screen and stop the music :)


DJMoffinz 2019-10-29 09:15

Thanks!


DJMoffinz 2019-10-29 09:53 (Edited)

Btw it was BG COPY not BC COPY also how do I use the MUSIC command to stop the music? Oh wait figured it out already.


was8bit 2019-10-29 13:09

Good catch... typos can really irritate your code ;)


was8bit 2019-10-29 13:13

Nice title page :)

... you could have used "CAPTURE PROGRAM ICON" to show off your new title page ;) I try to change the image for each update if possible ... I think it makes the update process seem more exciting... I'm more likely to check out an update if the image looks different .....


was8bit 2019-10-29 13:16

... also, your posted title doesn't necessarily have to match your file name .. they can be different ... I've even changed my own posted title sometimes ....


DJMoffinz 2019-10-29 22:15

Ik, I was gonna capture icon but I forgot to.


DJMoffinz 2019-10-30 01:50

Can Timo change it?


was8bit 2019-10-30 05:51

It would be easier to get the capture and post it... it will automatically pop the updated one on top :) i occasionally do that...


DJMoffinz 2019-10-30 08:26

Ok! So Timo doesn’t have to do it? I can?


DJMoffinz 2019-10-30 08:29

Wait it says I have to upload a program aswell. Never mind, ill do it in the next update, which is coming soon!


was8bit 2019-10-30 10:19

Oh yah i should have mentioned you have to add the program too... i just reup the one i just upped.... but as you have an upgrade soon you can wait ... makes sense :)


DJMoffinz 2019-10-30 22:56

Ok :)


Tinycloud778 2019-11-01 02:44

Cool


DJMoffinz 2019-11-01 05:03

@Tinycloud778
Thanks! Sorry the sound toggle doesn’t work yet, but I’ll release a new update soon!

Btw is Tinycloud a Warrior cats reference?


Log in to reply.