[APP][14/04/09] BallPhysics - GSensor thing 0.7 - Touch Diamond, MDA Compact IV Themes and Apps

I was playing around with class based programming stuff, and the Diamond GSensor, and some physics (I'll pretend it's relevant to my A levels ) and wrote a little game to experiment...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What it is is a field of balls that are affected by gravity. If they collide, they should bounce off each other in a vaguely realistic way.
The number of balls can be adjusted via the up/down keys up to a maximum of 100 (the performance isn't great with that many though...)
The size of balls can be adjusted using the left/right buttons - there's no minimum or maximum size.
Hitting the centre button will pause everything.
You can click and drag the balls, and sometimes a "flick" makes them move, I need to fix that though.
Tilting the device will accelerate all the balls.
The colour and position of each ball is random.
Should work on Diamond, Raphael, Blackstone, Rhodium and Topaz.
This isn't meant to have a real reason, it's just something fun and physicsy!
Changelog:
0.7 - fixes a touch screen related bug...
0.6 - reduces sensor polling time making it more reliable, some graphical speed ups as well.
0.5 Initial public release

Looks good.. Let me try this..

This is a pretty fun and simple game! Would u consider open sourcing it?

gobmonster said:
This is a pretty fun and simple game! Would u consider open sourcing it?
Click to expand...
Click to collapse
I probably will when I've cleaned up the code and tried to make it faster...

New release fixes a few things...
Get it from the first post.

hey i was wondering if you still have the source code for this?
I'm looking for something to get of started on programming apps for my diamond and its sensors... and this seems to be a pretty cool place to start as i have a few ideas of how this could be improved..
Thanks,
-David

Seems to have got lost *kicks to the top*

Related

That crappy wm5 'wait' thingy

Please if any of the rocket scientists on this forum know of some way to change that 'simon says' looking wait animation for wm5 then let us know.
I cant stand the way MS makes their interfaces look like a frikkin Fisher Price gadget and each time that thing loads and makes me watch it cycle red, green, blue, yellow the more angered I get.
:shock: :shock: :shock:
Never gave this much thought, but if it bothers you that much:
1) Get a coreres.dll.0409.mui file. (should be in any good ROM dump, or use TestWM5.exe by mamiac)
2) Change the bitmaps using ResourceHaker or any other res editor.
3)Check Asukal's posts for how to re-sign the file, then put it in windows directory.
Good luck.
This is the thread on changing for WM2003. The info might be helpful.
http://forum.xda-developers.com/viewtopic.php?t=37733&start=0&postdays=0&postorder=asc&highlight=
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
V
sorry, just gotta laugh at the prospect of having a hamster on my screen now...
though i'd take that over the spinning thing too...
I loved the little hamster!
Although a few frames of VirtualGirl might not go amiss!
V
vijay555 said:
I loved the little hamster!
Although a few frames of VirtualGirl might not go amiss!
V
Click to expand...
Click to collapse
lol, indeed sir, indeed.
so...anyone want to try this on WM5? I know it should work but still....
Very cute idea, I will try this my self soon with a custom graphics.
Just one problem I am not anxious to combat:
In WM5 system MUI's will not load without a signature. This means creating a certificate, provisioning device then signing DLL. I know it can be done, but still, a lot of extra hassle.
Exactly. I don't think it worked when I tried it way back when, but I don't think I signed it...
V

Pocket quake problem

Hi, sorry for the new thread
i installed the free pocket quake for my uni, but i don't see anything in the game screen, white, but i hear sounds, in gameplay
any idea to fix it?
a picture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks for the help, and have a nice day
From what I remember of trying to get quake1 running on the universal its a waste of time.
The real issue is not the white screen as I did manage to run it eventually, its the fact that the universal is vga resolution. Pocket quake has only developed stylus movement for a qvga screen, so with a vga resolution its all out of wack as you have can only move around with the stylus at the top left-hand corner and not where you are actually pointing.
And if you think you don't mind just using the keyboard, think again...
Also the framerate is pretty crappy, maybe on average, less than 15fps.
Unless you are a programmer that can fix the problems. You should try something else. There are some other great games out there. Transport Tycoon and warfare incorporated were my favorites.
I will be releasing an updated version of Pocket Quake soon. I've already remedied the keyboard and display issues. I will post an announcement on these forums when it is available.
Thanks for the help
ok, apologies for barging into the thread with a request but can you add the option to enable/disable the auto-view-centering when you move? i find it really annoying. If there is and I didnt RTFA then apologies.
also could it be possible to remove any hardcoding on the ESC key? particularly to back out of a menu option, i bound the action to DEL but it ignores that in the menus
BTW for other people's info, i play in landscape on the Uni using the keys as a kind of joypad and have added this to my autoexec.cfg
vid_fullscreen_mode "2"
_vid_default_mode "2"
vid_mode "2"
one of these forces it to default to landscape, not sure which but it does the trick!
Are you talking about PQ1, PQ2 or PWolf3D? By auto view centering, are you talking about looking up or down, and then the view returning to the center when you move?
The latest versions allow you to bind any key to TOGGLEMENU, so you can use any key you want to bring up or close menus.
pocketquake 1 i think, will double check and yes, when you're looking up (at someone on a ledge high up for example) and you move (to track the enemy or avoid fire) it brings your view back to horizontal in a misguided attempt to be helpful.
Yeah, that's the default behavior of Quake. Fire up WinQuake or GLQuake and you'll see they do the same thing. I can add a custom variable to disable that though.
Dan
that would be fantastic, thank you very much in advance!
Has anyone tried these versions of quake?
http://www.herz-power.de/pq.php

Widget-Game morpion free

hey! I have created a little widget which is a game named Morpion in french. You can play with in four modes: vs. Computer easy, medium or hard or two players.
hard mode is really hard, but if you beat it, I want to kow it!
You can download it by searching for MyMorpionWidget on the market.
I will post bar code as soon as possible.
I hope you will comment my job and enjoy yourself with it!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
thought you'd like to know ive beaten the cpu 3 times on hard (i won the first and lost 2 times then i won 2 times/ same strategy)
I suppose it is not hard enought... You are a good gamer, if you give me your strategie, it won't be able anymore, but if nobody can win, does the game be still interesting?
You should be able to balance it. If people win to easily they will be bored, if they never win they will be frustrated. Either reaction will have the same result: don't play with the game.
I'll try it as soon as possible.
I understand, that's why, there is three mode of difficulty.
The real probleme is that this game is a kind limited...
I am thinking about a cheat mode. It will change a little the rules. Can't finish with a null. After one or two turn you will be able to erase circle or cross where you wan't to play. I'll test it and if it is cool, I'll publish it.
The problem with the game is indeed that it is too easy. With that I mean that optimal play can always be achieved by both CPU and human player. If the CPU does not make mistakes intentionally, it will always end in a draw (or CPU win). However, since the game is so simple, making mistakes intentionally is too obvious and makes the AI look stupid.
I propose that you change to another similar game that is not that easy to beat. I assume you are French, so you might know "puissance quatre" (connect four). If you can get it to fit into the dimensions of the widget, that would be a much better choice.
Anyway, good work, keep it up

3d-printed wide-screen car-holder

Not being able to find a car-holder that would hold my Touch Pro in widescreen
with the keyboard extended firmly and still allow for a power-cable,
I designed this car-holder.
It ataches to anything that can carry a camera (1/4") and to the slide-in car.holders
from HAMA (they sell suction cups, air-hole -attachments, glue-ons and screw-ons).
You can attach the supplied and wider third-party cabless, reach the power-button
and it even comes with a hole to keep yout touch-pen.
If anyone wants one of these,
I can print them for 35eur+postage on my 3D-printer.
Marcus
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
attached to a digicam-holder:
attached to a HAMA-holder:
very bad photo of it in my car:
Any chance I could get the .stl file? I'd like to use it with my schools 3D printer.
codyfurr said:
Any chance I could get the .stl file? I'd like to use it with my schools 3D printer.
Click to expand...
Click to collapse
You don´t seem to have that printer for a long time yet to not know http://www.thingiverse.com/
It´s the first place to look for the STL-files of things ment to be printed.
Didn't think to look there. I thought you would've posted a link in here, but oh well.
Thanks!
IGES or STEP
Hi, is it possible to get a IGES or STEP File from you. I want to make one at Work, but from aluminum, with a CNC Mill.
My CAD/CAM Software takes STL files, but import of STL is not the best. It works better with IGES or STEP.
At the moment I am working on a Desktop Dokingstation, its not ready but will be in a short period of time. Will post it here.
Like this?
http://www.thingiverse.com/thing:2195
It´s the original Alibre Design files.
With milling you´d have to work very deep in the material without your toolhead touching the sides
and you certainly have to run multiple faces. I don´t think that will work well.
I´m using my Touch Pro only for development now that I switched to the Nexus One.
I have to say that it pretty cool stuff. Nice work Marcus. What cool times we live in when you can design and fab your own accessories for your phone. Thanks for sharing.

[APP][updated][27.10.2010] Calculator for Android (WP7 style) added animation

Hello,
This is my First android Application. This was tested on HD2 (mdeejay evo rom). And now im working on a game. I thought this will be useful for those who try to skin android to look like wp7. And those who wanna test it.
Updated to v1.1
-Now you can add multiple numbers continously
-improved graphics
-No bugs as far as i know
**skinning in progress**
feautures
-Sin and Cos functionality
-wp7 style
-button animation
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please report if any bugs.
How to install:
1)download the Calculator.apk file
2)put the file in Android\AndroidApps
3)Reboot
please keep update, very good for first app!
i cant find a simple calc with digit group since WinMo (ex: 1000000 => 1.000.000) , why is this not a standard? waiting for your update
Very nice first app!
I would tone the blue down a little bit, it seems just a little too bright when compared to WP7, and the numbers look a bit stretched too.
Good luck further developing this app!
vua777 said:
please keep update, very good for first app!
i cant find a simple calc with digit group since WinMo (ex: 1000000 => 1.000.000) , why is this not a standard? waiting for your update
Click to expand...
Click to collapse
Yeah sure will update it soon.. And i will try to implement digit seperator
atticus182 said:
Very nice first app!
I would tone the blue down a little bit, it seems just a little too bright when compared to WP7, and the numbers look a bit stretched too.
Good luck further developing this app!
Click to expand...
Click to collapse
Yes will re skin it to look better...
Thanks for your suggestion

Categories

Resources