France added to MercatorWorld
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: MercatorWorld: Russia added
Pixel???
I have now a list of 300 Dutch cities!
Proud to be Dutch
I have now a list of 300 Dutch cities!
Proud to be Dutch
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: MercatorWorld: Russia added
I have moved the folder and the zipped folder to my 'public' folder on DropBox.
You'll find the link in my first post on this subject
You'll find the link in my first post on this subject
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: MercatorWorld: Russia added
I have changed all images to 72dpi density where necessary.
All images in PNG-format have been changed to JPEG, in order to get smaller file size and thus faster loading?
The code is adapted where necessary.
The folder and the zipped folder are updated.
All images in PNG-format have been changed to JPEG, in order to get smaller file size and thus faster loading?
The code is adapted where necessary.
The folder and the zipped folder are updated.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: MercatorWorld: Russia added
This works fine!
BTW, Ton - nice photo!
Now about sprites. It seems that you are creating small "home" sprite as large as a map?
If it is so then although it works, but it is not the way sprites are intended to work.
In this case, sprite should be small animating circle. And it should be placed at desired point. If point changes - this sprite should not be redrawn but just placed in another place.
BTW, Ton - nice photo!
Now about sprites. It seems that you are creating small "home" sprite as large as a map?
If it is so then although it works, but it is not the way sprites are intended to work.
In this case, sprite should be small animating circle. And it should be placed at desired point. If point changes - this sprite should not be redrawn but just placed in another place.
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: MercatorWorld: Russia added
I use the "Home" sprite as an additional graphics layer, in which also the 'moving' line to the chosen city is drawn.
The sprite "city" could be eliminated and drawn in the "Home" layer. I will do/try that.
Furthermore, the circles of "Home" and "city" and the connecting line are frequently redrawn, in order to draw attention by some form of motion.
It would be easier if the BEGIN, END, SHOW and HIDE statements would not be necessary for an additional graphics layer.
E,g. the commands like GRAPHICS "Main" and GRAPHICS "Overlay" should be sufficient for switching between the 'static' image and an overlay (or more) where dynamic graphics are drawn. The generation of these layers could be done identically to sprites, in fact they are sprites, but with simpler access.
The sprite "city" could be eliminated and drawn in the "Home" layer. I will do/try that.
Furthermore, the circles of "Home" and "city" and the connecting line are frequently redrawn, in order to draw attention by some form of motion.
It would be easier if the BEGIN, END, SHOW and HIDE statements would not be necessary for an additional graphics layer.
E,g. the commands like GRAPHICS "Main" and GRAPHICS "Overlay" should be sufficient for switching between the 'static' image and an overlay (or more) where dynamic graphics are drawn. The generation of these layers could be done identically to sprites, in fact they are sprites, but with simpler access.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: MercatorWorld: Russia added
Initially it was planned that each sprite could be edited at any moment, like graphics layer.
But it seems that I forgot to make it like that, and made them non-editable. This should be definitely corrected.
But it seems that I forgot to make it like that, and made them non-editable. This should be definitely corrected.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: MercatorWorld: Russia added
In upcoming version 3.4 I have updated SPRITE BEGIN command.
Now it will allow editing of existing sprites, exactly as drawable graphics layers. Main graphics window also will be visible when editing any sprite. Moreover, even multi-frame sprites will be editable! You can just set any frame and edit it.
Now it will allow editing of existing sprites, exactly as drawable graphics layers. Main graphics window also will be visible when editing any sprite. Moreover, even multi-frame sprites will be editable! You can just set any frame and edit it.
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: MercatorWorld: Russia added
Would it be possible to store an edited multi-frame sprite. Possible corrections on e.g. motion phases could then be saved.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: MercatorWorld: Russia added
Yes, multi-frame sprites can be easily edited exactly as single-frame sprites.Dutchman wrote:Would it be possible to store an edited multi-frame sprite. Possible corrections on e.g. motion phases could then be saved.
This is the example of how it can be done:
Code: Select all
graphics
'load sprite from sprite sheet
sprite 0 load "smurf4x4.png",4,4
'edit every frame of the sprite
for i=0 to 15
sprite 0 frame i 'set frame
sprite 0 begin 'begin editing
draw text i at 0,0 'write frame number on sprite
sprite 0 end 'end editing
next i
'animate sprite
sprite 0 show
sprite 0 loop
0 goto 0
Then each frame of this sprite is edited: frame number is written on each frame.
Then sprite is animated.
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: MercatorWorld: Russia added
Obviously my question was not clear.
I asked if it would be possible to save the edited multi-frame sprite in file?
I asked if it would be possible to save the edited multi-frame sprite in file?