Posts by Ikko
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
A lot of things can make game to crash. Infinite loops, for example.
But, you said your project is big and Clickteam also crashes. So I suppose you are out memory. Probably you are using very big sprites with tons of animations.
FNaF game? Try to deactivate parts of code and find that crasher condition. Or maybe uncheck "Create on start" for every object you don't need on start. Create objects only when you need them and destroy objects when you don't need them.
-
There are plenty tutorials on YouTube
-
This thing is awesome but pretty niche. Until it have been sold millions if copies I don't think it's okay to make playdate support
-
They work. But that is what you have predefined. You want to know the device screen width and height. Not your game frame width
-
What is the problem with 8-direction movement? It should fit your purpose nicely
-
You can't create objects that doesn't exist on current frame. So basically you have two options:
1) copy paste
2) use "Include another frame" option in frame properties. Choose one frame to be universal for all other frames. Put there all objects and now you can use them. In my case universal frame is "Pause menu".
-
But I think I can get the window height and width using the built-in default features, so I'm not sure if the Window Control object is needed. I'll try it and update this post.
You can't
-
What a coincidence. I just made exactly what you're talking about a couple weeks ago.
What worked for me was
1) At the start of frame, Start loop "ID" NObjects (active) /2 times
2) Then On loop "ID", if alterable value of (active) = 0, pick one of (active) and set alterable value to LoopIndex("ID") + 1
This will assign [1 thru however many duplicate actives you have] to half of your active objects.
Then simply duplicate line 2) so that [set alterable value to LoopIndex("ID") + 1] will be applied to the other half of your actives.
Nice thing about this code is it will apply it to ANY amount of duplicate actives you have in your frame, as long as there's an even number of them.
Brilliant idea💡
-
-
Hello I have also an problem with INI. My B - 2 in EXE become to B - 3 ? Only B is a problem, not the rest. Watch Movie.
Please login to see this link.
clear cache
-
Disable close button checkmark should be unchecked
-
I woke up. Here is your solution
* Start of Frame
Special : Start loop "loop" Len(string$( "String" )) times* On loop "loop"
+ Val(Mid$(string$( "String" ), loop_n( "String" ), 1)) > 0
+ Val(Mid$(string$( "String" ), loop_n( "String" ), 1)) <= 9
OR
+ Mid$(string$( "String" ), loop_n( "String" ), 1) = "0"
String : Set temp_num to temp_num( "String" ) + Mid$(string$( "String" ), loop_n( "String" ), 1)+ Always
String : Add 1 to loop_n+ LoopIndex("loop") = Len(string$( "String" )) - 1
String 2 : Set alterable string to Str$(Val(temp_num( "String" )) / 1)Some context. So, i parse each symbol from left to right using "loop". If current symbol is 1-9 (value) or "0" (string) I add it into alterable string value "temp_num". So, now I got only numbers in "temp_num". Like 00244. To get 244 just divide 00244 by 1
"0" should be checked as string not as value, because any letter as value is equal to 0.
-
I woke up. Here is your solution
* Start of Frame
Special : Start loop "loop" Len(string$( "String" )) times* On loop "loop"
+ Val(Mid$(string$( "String" ), loop_n( "String" ), 1)) > 0
+ Val(Mid$(string$( "String" ), loop_n( "String" ), 1)) <= 9
OR
+ Mid$(string$( "String" ), loop_n( "String" ), 1) = "0"
String : Set temp_num to temp_num( "String" ) + Mid$(string$( "String" ), loop_n( "String" ), 1)+ Always
String : Add 1 to loop_n+ LoopIndex("loop") = Len(string$( "String" )) - 1
String 2 : Set alterable string to Str$(Val(temp_num( "String" )) / 1) -
Use window control extension. It can get device screen width and height.
Calculate screen ratio "(screen width*1.0)/screen height"
And that's it. You now can divide devices by screen ratio. I'd say 1.78 is divider (16:9 most probably tablet or very old phone). The lower number means it's tablet, the higher is phone. The most easiest way.
-
Val(right$(string,3)) This will work
UPD i was sleepy. Didn't understand they are different in sizes. Sorry
-
🚀 BROKEN LIFE demo is now available on Steam! 🎮
Please login to see this media element.
Dive into the adventure and let me know what you think.
And don't forget add it to your wishlist 🤗
Please login to see this link.
-
Hi. Sure.
1. Open with Notepad "index.html" file that you create after "Build".
2. add somewhere between <head> and </head>:
Code
3. Go to Clickteam and add HTML5 extention
4. Go to events tab. Add 3 actions on event that will erase your data:
- reset parameter (HTML5)
- add string parameter "yourfilename.ini"
- call function clearfile
That's all
Don't forget to uncheck create index.html in app properties, HTML tab
If you have several files in cash you can use "localStorage.clear();" instead of "localStorage[text]="";"
-
Hi. I've managed how to use scripts and already made everything by myself. But thank you.
Used local storage clear by item name.
-
I use INI extension for my Windows game. While porting game on HTML5 for itch.io i understand that i cannot start new game, because HTML5 doesn't support File extension. So i cannot delete a save.ini file.
I need a way to clear save.ini to blank. Any suggestions?
P.s. my personal thought is to make new save every time player start new game. Like save1.ini, save2.ini etc. But if there is a way to clear browser cache or wipe ini file (so i will always use same save.ini) i would like to know