FL
Pokémon Island Creator
- 2,544
- Posts
- 14
- Years
- Seen yesterday
This is a very simple scripts that took me around 2 hours. And I spend almost all the time formatting the images, making the right x/y image positions and making the script instructions =)You've outdone yourself once again, FL, your scripts are gold. It's long overdue, but finally this one has been done, kudos man!
A basic pinball probably takes 10 times the time of doing this script and I don't like making long scripts, specially if I never will use it.It works perfectly, thanks FL. Can I make a suggestion? Can we have pinball mini games in pokemon essentials? For prizes, we can give random items for the winners. Or making a pinball mini game like ruby and sapphire with random rewards.
I have a syntax error with this line:
time.hour>=12"clockpm" : "clockam"))
EDIT: I have triple checked and the actual line is the same as the one in the OP, but it gets messed up here.
pbWallClock(true)
63 def pbUpdateClock
64 time = pbGetTimeNow
65 @sprites["pointerminute"].angle=(-time.min)*6
66 @sprites["pointerhour"].angle=(-time.hour%12)*30+(-time.min)/2
67 @sprites["pmam"].dispose if @sprites["pmam"]
68 @sprites["pmam"]=IconSprite.new(0,0,@viewport)
69 @sprites["pmam"].setBitmap(IMAGEPATH+(
70 time.hour>=12"clockpm" : "clockam"))
71 @sprites["pmam"].x=@sprites["clock"].x+(
72 @sprites["clock"].bitmap.width-@sprites["pmam"].bitmap.width)/2
73 @sprites["pmam"].y=@sprites["clock"].y+176
74 end
PokéCommunity is breaking my codes:I'm having an issue with this script.
I use a base game that was simply updated to 15.1
No new scripts added beforehand.
This is what I get when I attempt to playtest.
![]()
My script is exactly as originally posted but here is the def that includes line 70:
Code:63 def pbUpdateClock 64 time = pbGetTimeNow 65 @sprites["pointerminute"].angle=(-time.min)*6 66 @sprites["pointerhour"].angle=(-time.hour%12)*30+(-time.min)/2 67 @sprites["pmam"].dispose if @sprites["pmam"] 68 @sprites["pmam"]=IconSprite.new(0,0,@viewport) 69 @sprites["pmam"].setBitmap(IMAGEPATH+( 70 time.hour>=12"clockpm" : "clockam")) 71 @sprites["pmam"].x=@sprites["clock"].x+( 72 @sprites["clock"].bitmap.width-@sprites["pmam"].bitmap.width)/2 73 @sprites["pmam"].y=@sprites["clock"].y+176 74 end
Found a way to copy the script correctly, now in the normal version of the forum, the script codes are eaten by something, so goto thread tools> show printable version> copy script>install>test>done.
The thread revival limit does not in this subsection.Sorry posting it here so LATE (August 22nd 2015) Late, sorry
Please don't bann me
I want to use a script for (Real Time System)
with Clock designs/images and like I click on a clock in-game and then appears a bigger Clock in the game with the Real Time.
I know that this script does the same thing that I want, but this script is for Unreal time and I want one for Real time and I already searched it in the Wiki of Essentials and in google too and couldn't find anything....
This script is for whatever time system you're using. Didn't you try using this script before making statements like this? It will work just fine.this script is for Unreal time and I want one for Real time