Related
Perpetual is a simple image zooming demo.
You can zoom on any of the 200 images, and the pixels will turn into other images to zoom, perpetually.
What is it for ?
Nothing ! It's just a proof of concept and a demo I made...
If you have any images to submit to add into the demo, feel free to post in the forum and we'll update as soon as possible ! I'm looking for images that have nice colors and an overall dominant one (that'll be used for the color detection) Thanks for helping support this useless project !
Download Perpetual
Also available :
Perpetual Image Maker
Sexy Image Pack
Kaiser47's DeviantART selection (really awesome pack !)
SaintSeya pack
Zen nature pack
v0.3 (03/29/08)
- New prp format (old ones should still work though) with additionnal data : author, icon, etc...
- New menu using the new prp format data, looks much better !
- Now saves viewed purcentage !
- Now works with Smartphones !
- Fixed menu bug if you had too many packs
- Much higher image quality while zooming
v0.2
- Fixed image bug when you have more than 256 images (that was stupid)
- Fixed potential crash when moving around too much
- Fixed surface bug when you moved around
- PerpetualMaker updated, smaller exe
- Improved performance
- New image viewer to select start image
- Now over 300 images !
- New Image Pack maker : just put in any directory, and it'll take all the images from images/ (still requires 240x240 jpeg images) and do a pack (.prp file)
- New splash screen, with possibility to select pack to display !
- Fixed random crash when changing speed while in auto mode
- Speed button : x0.5, 1, or 2
- Auto button for lazy people
- Surface button to come back to the unzoomed image
A video is available on that page if you want to see what it looks like without downloading/installing
Thanks for the feedback, suggestions, and images !
Fascinating software - it works perfectly in portrait, its a bit slow and landscape, and it doesn't handle the change from portrait to landscape well.
Thanks for making my Kaiser much cooler however.
Any way the process could be automated, to make it into a semi-interactive screensaver?
Surur
Well, technically, it's automated on my PC (there's no way to add all the needed data for the colors of the 200 images alone ^^) : I just have a folder with the images, launch my .Net app, and it scans through all the images, sorts by color, and outputs both miniature views (to avoid overloading the memory) and a huge array with the number of the image to use for every 16bit color ^^
It takes a while to run on my PC, so it's unlikely to work on in realtime, would have way too much loading time. I have just thought of an alternative method to build the color array, it could work much faster, but would only be available for real-time if you have only a few images... and if you don't have many images, well... It won't work to well ^^ You need to have at least 50 or 100 photos, ranging in pretty much all the possible colors (my PC app outputs which colors are overpopulated and which aren't populated enough, to know which images to remove and what colors to search for) ^^
While it would be cool to use my own pictures, it would be nice to see it zoom through the stock images without me having to touch the screen with the stylus too, independently.
Surur
Well, this is a first release, I just wanted to have a quick proof of concept and that's it ^^
The future stuff that could be added :
- "Surface" button (to move back up)
- Auto button (could be nice to for lazy people ^^)
Anything else ?
A zooming back feature would be cool
sercio said:
A zooming back feature would be cool
Click to expand...
Click to collapse
Would that be for the skin-tone pictures ?
Surur
yeah
Btw there should be alot more pictures kind of ^^
This looks really cool I will have to try this on my Hermes. Does it work for VGA and Qvga?
*Edit* Only Qvga any plans for VGA? *Edit*
Alkhal said:
*Edit* Only Qvga any plans for VGA? *Edit*
Click to expand...
Click to collapse
Well, it should work on VGA, just that it's upscaled. I tested on emulator and the performance was good.
In theory, a 100% VGA version could be done. But the program is already 5MB, uses a lot of ram for all the images, and a full VGA version would just use 4 times more ram :s
Btw there should be alot more pictures kind of ^^
Click to expand...
Click to collapse
Feel free to post some images (or send them by mail/PM) and I'll add them ^^
*Edit*
Ok here are some random Pictures i found and had on ma system! I extra made them 240x240 so you dont have any work rescaling them
Btw i would like if the "zooming" effect could be more smoother and slower if its possible...
Hope you like ma pics!
Regards
Thanks, let me check that out.
As for zooming, the speed can be changed, not a problem I didn't actually test on hardware, just on emulator, so it might not be optimal yet...
TODO list (note to myself) :
- Auto-zoom
- Back button
- Speed button
edit : hey, nice set of pics I'll definately include most of them in the next release (either as additional pictures or as a remplacement. like flickr-color-picker.jpg which will be perfect to replace a sort of crappy image I had in the same style ^^) Thanks !
edit2 :
Better not or are you willing to made a "special" adult version ?
Click to expand...
Click to collapse
Could be fun if you know where to find nice pics (IE, with nice and different colors, won't be as simple)
edit3 (last one, I promise !) :
Still looking for a good theme for the icon and the viewer, if anyone has an idea, please share !
I found few random pics... hope you can use them
Yay, those are awesome !
I'm currently finishing a set of 50 sexy photos, then I'll see if it works good enough with those
Cool and amazing app! Works perfectly on WM2003! Keep working
I think that you should make other app like that: http://www.mazaika.com/mazdownload.html for ppc (WM 2003 support for sure! ).
Nice work!
Thanks for the link. That one seems nice too, but the images are in 64x64, whereas I use nice and big 240x240 images ^^ I'm thinking of modifying my PC .Net exe and redistributing it... It could produce a file like myimages.prp which would contain all the data needed, and could be copied on the PPC to open it...
As for SexyPerpetual, tested, it works pretty well ! The images aren't the best as I used the first image pack I could download on bittorrent. Not sure what the forum policy is for the kind of stuff, so I will not post a link to download it. Just send over a quick PM requesting the link and I'll answer back
As for the video, if you want to take a look, here the link for the normal version's video : http://www.palib.info/blog/flvplayer.swf?file=http://www.xflib.net/Games/Perpetual/Perpetual.flv
Just keep replace the name by the sexy version's name and you should be able to view it (if the admins don't want this posted, please just tell me and I'll remove it !)
yes it woudl be cool if you can provide a tool that we can use to compile "our" versions with our pictures. it would be simpler than having to make special requests to you and sending many pics ?
but also if you really want pics, perhaps we can all send some to you ? public ftp or classic sharing sites like rapidshare ?
SexyPerpetual is very nice But insert "more naked photos" xD
BTW: I like kaiser47s idea
Kaiser47, feel free to use any method to send of photos
Yeah, I know, the sexy version misses a few naked photos ^^ But I just took a pack found on bittorrent, and used the ones with the most colors (because if I use only naked women on a white background, the transitions will be crappy, so I needed to have blue, red, etc....). If you have a pack with nice naked photos, I'll add them to the pack
I'm currently modifying the PC part of the code to generate a special file which could be distributed and read by the PPC app, that way anyone can do an image pack
Cool idea
I do not have ones so I will w8 for new versions xD
I wrote this little program, called SensorMaze. It generates mazes and allows you to steer a little blue dot using the movement sensors in the HTC Diamond. It is based on the original SensorTest program and since it has been a while since I programmed for any PDA, it is a bit simple.
Usage:
Try to send the blue dot to the red dot by tilting your Diamond in the required directions.
Commands:
- New Maze: create a new maze in the same level
- Next Level: increase the complexity.
As mentioned, it is my first attempt, so there is still some work that needs to be done.
TODO:
- Implement timer, so you can compete against yourself
- remove the "Position" text and replace with timer output
- MessageBox instead of Dialog ?
- Replace the blue dot with a "ball" like structure
- Release the source code (after cleaning it a bit more)
Question:
When I try to use MessageBox from my code, the MessageBox fails to close and I can never get back to the Shell without a reset. Any one any idea what I could be doing wrong here ?
Changes ( 07-Aug-2008)
- Replaced the target with a cheese and the moving dot with a mouse icon.
- Added some text to show the current level.
- Initial level is lowered, so that kids could play it too.
Screenshots are provided in the attached .png files. I also added the sources, so that other people can see how you can use the acceleration meter
If you like my applications, consider a donation to Koushik.
After all it is thanks to his (and the many other developers) work and readiness to share it that I can write these programs. I (currently) still get enough satisfaction in writing these programs.
just tested, awsome little game! keep working on this! perhaps add some vibration and sound feedback, maybe change the dots to somthing like a mouse and some cheese? if you changed it to a ball it may be too simaler to teeter?
Adam
cgeboers said:
Question:
When I try to use MessageBox from my code, the MessageBox fails to close and I can never get back to the Shell without a reset. Any one any idea what I could be doing wrong here ?
Click to expand...
Click to collapse
I haven't had any issues using C#.Net ... what are you writing in? The only thing I can think of is to make sure the MessageBox is shown from the same thread that created the form.
Really like the concept - gave it a play, and it works well! Looking forward to new and improved versions!
Great, Cheers dude
Some screens would be nice!
SensorMaze - suggestions
Thanks for the reviews. I will implement the changes, like the mouse and the cheese. I am currently working on an other "gadget" application, as soon as that one is finished I will take care of it.
As for the question about the MessageBox, I use C++ in this program and have a workaround, so I will let it at rest for the moment.
I will try to get some screendumps too later.
cgeboers said:
I wrote this little program, called SensorMaze. It generates mazes and allows you to steer a little blue dot using the movement sensors in the HTC Diamond. It is based on the original SensorTest program and since it has been a while since I programmed for any PDA, it is a bit simple.
Usage:
Try to send the blue dot to the red dot by tilting your Diamond in the required directions.
Commands:
- New Maze: create a new maze in the same level
- Next Level: increase the complexity.
As mentioned, it is my first attempt, so there is still some work that needs to be done.
TODO:
- Implement timer, so you can compete against yourself
- remove the "Position" text and replace with timer output
- MessageBox instead of Dialog ?
- Replace the blue dot with a "ball" like structure
- Release the source code (after cleaning it a bit more)
Question:
When I try to use MessageBox from my code, the MessageBox fails to close and I can never get back to the Shell without a reset. Any one any idea what I could be doing wrong here ?
Changes ( 07-Aug-2008)
- Replaced the target with a cheese and the moving dot with a mouse icon.
- Added some text to show the current level.
- Initial level is lowered, so that kids could play it too.
Screenshots are provided in the attached .png files. I also added the sources, so that other people can see how you can use the acceleration meter
Click to expand...
Click to collapse
have other sensor game.
SensorMaze mouse
I love this little game. However I found that in challenging myself and advancing the game to higher levels, the little white mouse became rather difficult to see as he became smaller. Perhaps changing the colour f the mouse or the colour of the paths in the maze. Currently the mouse and the maze are the same colour. other than that the game is great.
Awesome program, but I feel like I'm epileptic now, the screen was constantly flickering during it, I think it's a compatibility issue with my Raphael.
Awesome program
hmmm...wasn't able to get it working.
Got error (Unable to load Sensor DLL).
Any ideas?
sensor
unable to load DLL? can u tell me how to fix it?
that's a fun little game, thanks
Nice man : D
Hi, when i try to lunch the game, i got sensor dll, what shell i do to run the game ? i have samsung omnia i900
fadoody said:
Hi, when i try to lunch the game, i got sensor dll, what shell i do to run the game ? i have samsung omnia i900
Click to expand...
Click to collapse
you need to replace the sensor.dll file with the Samsung's...it is preinstalled with HTCs. Change that file and it should work fine.
I replaced sensor.dll with Samsung's .. but the problem is still persisting.. what shall i do now?
It would be nice if this could work on our LGs.
(the working LG sensors.dll created by iamspv at thread number 471591 in this forum.)
PacManPPC v0.5
Notes:
======
All GFX robbed from the MAME rom of PacMan (Midway), and converted to BMP. Remember to leave in the same format upon save if you edit them or it'll go horribly wrong.
Code was originally written by me for an embedded 16 bit console (Sunplus) but never saw the light of day, so is re-used in this.
Uses OpenGL ES. I have no idea if it will work on phones other than a Diamond or similar.. I don't have any other phones. It will not scale to smaller screens.
Changes.
A fully built map outline texture is used for speed, because drawing the entire 8x8 tilemap took too long. (~1000 polys).
Installation.
The Program *MUST* be installed to "\Program Files\PacManPPC" (See below "Relative file paths")
Stuff still outstanding, in order of chance of ever getting done.....
Sound (from original samples)
Better Frontend, closer to arcade original.
Better controls... difficult at screen edges....
Increasing difficulty
Intermission.
Backend.
Fruit Multiplier stuff (where to represent them?)
Issues I have that perhaps someone with more PPC dev experience could shed some light on?
50/60Hz.
I have no idea how to sync to the screen, is it possible to VSync on the Diamond?
Otherwise I'll use performance counter to get as close as poss.
Currently the sleep is fixed, so speed increases as pill count reduces.
Relative file paths.
I haven't been able to use relative file paths.. hence the need to place the game in a specific location.
All files are loaded from ".\Program Files\PacManPPC" hardcoded... rubbish
".\" or "./" is always root? I must be stupid, what am I missing here?
Weird issue.
Every now and again the phone "does something" which causes the screen to scroll up 16 pixels... only seen it happen twice, perhaps a side effect of dev, absolutely no idea why.
Startup.
Starting from file browser sometimes loses focus instantly (or never gets it).
Runs very well!
No sound, ok, I read that
Controlling is quite good! Like just dragging the stylus 'where i want to go'.
Nice work!
Using G-sensor is a great step?
Have you seen it?
TRiKi® said:
Have you seen it?
Click to expand...
Click to collapse
I hadn't.. looks emulated so will probably be much more accurate.. how depressing ... LOL.
dont be depressed, you have done a good work man ;-)
Hello cool developer, I know you can do great stuff, much more for us, deserves a big credit. I will buy you a kebab, ultimate honour. only smiley I know!
does not work on xda flame with goforce gpu
jaikben22 said:
does not work on xda flame with goforce gpu
Click to expand...
Click to collapse
Are you sure you pu it in the right place?
"Installation.
The Program *MUST* be installed to "\Program Files\PacManPPC" (See below "Relative file paths") "
In the device memory, not the storage card.
this is absolutely awesome!!! Works great on the touch pro, thanks!!!
uniqueboy said:
Are you sure you pu it in the right place?
"Installation.
The Program *MUST* be installed to "\Program Files\PacManPPC" (See below "Relative file paths") "
In the device memory, not the storage card.
Click to expand...
Click to collapse
yeah I am sure, gonna try it one more time, I think init of opengles is different from diamond
jaikben22 said:
yeah I am sure, gonna try it one more time, I think init of opengles is different from diamond
Click to expand...
Click to collapse
I know the developer's 1'st winmo is Diamond, I have had the privilege of clocking a few very cool wee demos he's put together that I would love to see posted. I think youmight be right about the different opengls of the Flame and the Diamond.
Well i can help out for converting, I can send some example codes for flame?
any progress guys?
well done but make attention you cant install it on the program files in the safe card on your phone
Hi.
I was playing a little bit using VS2008 and Windows Mobile 6 SDK to create my own mobile application in C#.
But what really is annoying is the missing ability of creating 'nice' UIs.
For example G-Alarm (http://forum.xda-developers.com/showthread.php?t=422362) looks much nicer then a 'simple app'.
How are those apps be done?
Or is it raw graphic programming?
Any tips appreciated.
Please get me on the road. ;-)
Regards,
AtzeX
You can use images to create nice UI's. You can make nice images with photoshop or paint.net
Sure, but that would mean, that the UI is static.
What about some dynamic, like buttons and the effects when hovering over them etc.?
Is this all done by combining different images?
Is there somewhere a sample-application demonstrating that technics?
Or is there any toolbox what they use?
AtzeX said:
Sure, but that would mean, that the UI is static.
What about some dynamic, like buttons and the effects when hovering over them etc.?
Is this all done by combining different images?
Is there somewhere a sample-application demonstrating that technics?
Or is there any toolbox what they use?
Click to expand...
Click to collapse
H-overs are usually just 2 pictures .
...not to forget the pressed state.
So, do I really have to become a graphic artist thatfore?
No other way/tricks/(common)libraries?
In what I've done, use a picturebox rather than a button, and then change the image on the mousedown/mouseup events.
If you like the button styles of a particular thing (e.g. the Diamond/Opal/whatevers volume control), I'd extract the image, resize it and you're good to go.
Obviously ask the relevant owners permission first!
Attached is the Jade volume control button (I have it in transparent, but it's a large file... I'll upload it somewhere else if wanted) which may be of use as a simple On/Off button.
l3v5y said:
In what I've done, use a picturebox rather than a button, and then change the image on the mousedown/mouseup events.
If you like the button styles of a particular thing (e.g. the Diamond/Opal/whatevers volume control), I'd extract the image, resize it and you're good to go.
Obviously ask the relevant owners permission first!
Attached is the Jade volume control button (I have it in transparent, but it's a large file... I'll upload it somewhere else if wanted) which may be of use as a simple On/Off button.
Click to expand...
Click to collapse
so they aren´t released yet ?!? OMG, xda is hacking out every piece of software but no complete diamond gfx-pack ?
would be really great, I´d like to modify them and use them for some own projects.
Thanks l3v5y!
But unfortunately I will have no time left in the next weeks, because I will be away.
But I will try and respond when I'm back.
Regards,
AtzeX
Is it possible to make pictures/pictureboxes transparent???
I want to embed png files containing transparency information
I tried so long but couldn`t find out....
thx
ya, welcome to the .net mobile world lol. I've been trying to come up with some nicer guis on my own for a few weeks now, with little luck due to poor documentation/examples and understanding of the gdi drawing capabilities.
if possible, please keep us (me) updated on what you find or code. there's just so little open source or documentation in the .net mobile world (it seems to me at least) for creating any controls (other than odl's) that try to move themselves away from the standard look and feel of the textboxes, comboboxes, etc.
I was wondering if the xFlib libraries could be used to create apps... http://www.xflib.net/
Then why would I want to use XFlib ???
XFlib has been designed following a few principles : completely free library, very simple to use, and with good enough performance to allow you to do your games without too much technical knowledge…
It all started when we, at the XFTeam, decided to do some PocketPC development. There were already tons of solutions out there, like using .Net, but pretty much everything was Windows-based, which was a problem for the Linux users That's where CEGCC came in to help : it provided us with a great free cross-platform compiler for ARM PocketPC !
We have been strongly influenced by GBA/NDS development, so the library was also designed with strong analogies to the old school 2D consoles : manage your sprites, bitmap layers, tiled backgrounds, text, etc…
Click to expand...
Click to collapse
Nice site for creating buttons:
http://cooltext.com/Buttons
Transparency and Custom controls
Transparency is a pain in the but with .net. The only way I was able to get it to work was by making unsafe system calls by add using "System.Runtime.InteropServices;"
and call Alphablend from the coredll.dll file.
[DllImport("coredll.dll")]
extern public static Int32 AlphaBlend(IntPtr hdcDest,
Int32 xDest,
Int32 yDest,
Int32 cxDest,
Int32 cyDest,
IntPtr hdcSrc,
Int32 xSrc,
Int32 ySrc,
Int32 cxSrc,
Int32 cySrc,
BlendFunction blendFunction);
Not only is it a pain but it seemed to slow down my animations significantly.
or using the native .NET GDI you can do this the following way:
this method olny makes an exact color transparent but you can't set transparency values.
System.Drawing.Imaging.ImageAttributes attr = new System.Drawing.Imaging.ImageAttributes();
// "this sets your transparent color, the color you want to disappear"
attr.SetColorKey(Color.White, Color.White);
e.DrawImage(bmp, dstRect, 0, 0, bmp.Width, bmp.Height, GraphicsUnit.Pixel, attr);
the code above is an incomplete segment that would display a bitmap named bmp with the exact color white gone.
I can post an example in C# if people want it. But basically for a unique look, I don't use any windows controls. I make a buffered picture the size of the display and bitblit the images off screen and switch them in like in a video game rendering. I draw how each control should look and then monitor mouse location and click locations to determine what control is being interacted with and what images to switch them out with.
I release a custom UI replacement program called FlipSlide here http://forum.xda-developers.com/showthread.php?t=385036 there is source code available from http://sourceforge.net/projects/flipslide/ for this that uses these techniques.
hope that helps somebody.
AtzeX said:
Hi.
I was playing a little bit using VS2008 and Windows Mobile 6 SDK to create my own mobile application in C#.
But what really is annoying is the missing ability of creating 'nice' UIs.
For example G-Alarm (http://forum.xda-developers.com/showthread.php?t=422362) looks much nicer then a 'simple app'.
How are those apps be done?
Or is it raw graphic programming?
Any tips appreciated.
Please get me on the road. ;-)
Regards,
AtzeX
Click to expand...
Click to collapse
You can read this article: Building Graphically Advanced Applications with the .NET Compact Framework 3.5
thx for your help chetstriker
i will download the sourcecode and try to figure it out...
Hello, I am developing my very first app using the latest Android bundle (SDK + Eclipse included). I also installed LibGDx since it will be a game. Upon following some tutorials online it dawned on me, how the hell can I SEE what I'm doing? Meaning I have no room/screen view. So when I render an object onto the screen I just have to wing it when it comes to where it should start on the screen. This is obviously not a good way to make games, its kinda tedious. Precise placement of objects as in "Angry Birds" will be very hard. I'm well aware of emulation but that only shows things after the fact. There has to be a way to do it, maybe a plugin or something? Being able to drag/drop and interact with objects on this screen w/out code would also help a lot. Much thanks!
Eclipse shows the layouts at runtime. You don't have to run it on the emulator each time to manage layouts. Double click on the layout file and it will open in a side view. At the bottom, there will be 2 options, viz Layout.xml and Graphical Layout. Choose Graphical Layout.
EatHeat said:
Eclipse shows the layouts at runtime. You don't have to run it on the emulator each time to manage layouts. Double click on the layout file and it will open in a side view. At the bottom, there will be 2 options, viz Layout.xml and Graphical Layout. Choose Graphical Layout.
Click to expand...
Click to collapse
Thanks for replying, but I should've mentioned that I'm aware of this. This view only shows things I drag and drop onto from the same window. It doesn't show anything rendered in the code from other classes. So anything important like the main characters aren't there. Is there perhaps some way to make them show up in here?
Android3000 said:
Thanks for replying, but I should've mentioned that I'm aware of this. This view only shows things I drag and drop onto from the same window. It doesn't show anything rendered in the code from other classes. So anything important like the main characters aren't there. Is there perhaps some way to make them show up in here?
Click to expand...
Click to collapse
Layouts managed by code isn't showed. Only the xml layouts are show up.
EatHeat said:
Layouts managed by code isn't showed. Only the xml layouts are show up.
Click to expand...
Click to collapse
This is what bothers me. How in the world am I suppose to develop complex levels and what not without being able to see placement of things live? I can't imagine trying to make angry birds or something like that by only having coordinates and no visuals. So there isn't any add-on or plugin that can provide such capabilities?
There isn't any official visual level editor by LibGDX.
But maybe you find an Editor that saves your level in xml or sth. and you can parse that xml in ur LibGDX-App. I wrote my own Level-Editor specially for my LibGDX-Game and it wasn't so hard to code.
Regards
Android3000 said:
This is what bothers me. How in the world am I suppose to develop complex levels and what not without being able to see placement of things live? I can't imagine trying to make angry birds or something like that by only having coordinates and no visuals. So there isn't any add-on or plugin that can provide such capabilities?
Click to expand...
Click to collapse
Not that I know of. You can just create the whole layout in xml to get it correct first. Then use those coordinates in your code accordingly.
Apparently various types of 3rd party apps do exist for this task . Thanks for the help guys.
just try another game engine