New game again!

378 views
Skip to first unread message

la...@bulbsort.com

unread,
Feb 16, 2013, 5:19:29 PM2/16/13
to pl...@googlegroups.com
We have now released our third game using the PlayN framework.

It's called Puzzling Apples and it's a laid-back and relaxing puzzle game in the spirit of Flow and similar games.

At the moment it is only released on Android because we had some troubles with the HTML backend, but we will probably release it to da web and CWS in the upcoming week.

Hope you will enjoy it!

Neil White

unread,
Feb 16, 2013, 5:20:56 PM2/16/13
to pl...@googlegroups.com
you have ads on the free one? i have just been pondering getting ads into a free version of my playn game


--
 
---
You received this message because you are subscribed to the Google Groups "PlayN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to playn+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

la...@bulbsort.com

unread,
Feb 16, 2013, 5:24:51 PM2/16/13
to pl...@googlegroups.com
Yes, using admob.

Neil White

unread,
Feb 16, 2013, 5:26:24 PM2/16/13
to pl...@googlegroups.com


is that easy to set up in android? you just add everything in layout?

la...@bulbsort.com

unread,
Feb 16, 2013, 5:38:40 PM2/16/13
to pl...@googlegroups.com
Mmm, using the com.google.ads.AdView class.

la...@bulbsort.com

unread,
Feb 19, 2013, 5:01:13 PM2/19/13
to pl...@googlegroups.com, la...@bulbsort.com
The game is now also released on CWS and as a HTML5 app!

Evgeni Gordejev

unread,
Feb 20, 2013, 5:41:37 AM2/20/13
to pl...@googlegroups.com, la...@bulbsort.com
Challenging game, good work!

la...@bulbsort.com

unread,
Feb 21, 2013, 5:03:57 AM2/21/13
to pl...@googlegroups.com, la...@bulbsort.com
Thank you!

ned.w...@codeheadsystems.com

unread,
Apr 22, 2013, 12:26:33 AM4/22/13
to pl...@googlegroups.com, la...@bulbsort.com
I've been looking at the way to add the AdView... I'm sure I'm doing something silly. Can you show a code example of how you added it to the layout?

ned.w...@codeheadsystems.com

unread,
Apr 22, 2013, 2:02:46 PM4/22/13
to pl...@googlegroups.com, la...@bulbsort.com, ned.w...@codeheadsystems.com
I should say what my plan is I have and see if it makes sense... Override the setContentView() method in the GameActivity and create a relative layer, with the game layer on top, and the ad view on bottom. (in my case, I want the ad on bottom) 

I'd rather have the ad layer be an overlay to the existing one... not sure how to do that. (quickly googles "overlay layer android"...)

Neil White

unread,
Apr 22, 2013, 2:11:31 PM4/22/13
to pl...@googlegroups.com
can you not do most of this in the manifest xml file these days? ... yes i am still looking to do this within reasonable sanity as soon as i finish a playN game


--

ned.w...@codeheadsystems.com

unread,
Apr 22, 2013, 11:06:26 PM4/22/13
to pl...@googlegroups.com
If you can, I'd love to hear about it. I wasn't successful in getting there which was why I was looking to get some help from those that already did it.

la...@bulbsort.com

unread,
Apr 24, 2013, 6:15:39 AM4/24/13
to pl...@googlegroups.com, la...@bulbsort.com, ned.w...@codeheadsystems.com
Yes that's pretty much how we did it.

// Inside overridden setContentView

LinearLayout layout = new LinearLayout(this);
layout
.setBackgroundColor(0xFF000000);
layout
.setGravity(Gravity.TOP);

RelativeLayout innerLayout = new RelativeLayout(getBaseContext());
layout
.addView(innerLayout);

_
adViewer = new AdViewer(this); // Class that holds the ad stuff in a RelativeLayout container.

int adHeight = _adViewer.adSize().getHeightInPixels(this);
int gameHeight = getWindowManager().getDefaultDisplay().getHeight() - adHeight;

innerLayout.addView(_adViewer.container());
LayoutParams adLayoutParams = new LayoutParams(LayoutParams.MATCH_PARENT, adHeight);
adLayoutParams
.addRule(RelativeLayout.ALIGN_PARENT_TOP, RelativeLayout.TRUE);
_adViewer.container().setLayoutParams(adLayoutParams);

innerLayout.addView(view);
LayoutParams gameLayoutParams = new LayoutParams(LayoutParams.MATCH_PARENT, gameHeight);
gameLayoutParams
.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM, RelativeLayout.TRUE);
gameLayoutParams
.addRule(RelativeLayout.CENTER_HORIZONTAL, RelativeLayout.TRUE);
view
.setLayoutParams(gameLayoutParams);

LayoutParams params = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
getWindow
().setContentView(layout, params);


Hope that it helps!

Ned Wolpert

unread,
Apr 25, 2013, 12:57:34 AM4/25/13
to la...@bulbsort.com, pl...@googlegroups.com

Thanks for the details. I'll post what I do for mine when its working. Going to try to finish up my early release this weekend.

wagner....@gmail.com

unread,
May 13, 2013, 4:45:14 AM5/13/13
to pl...@googlegroups.com, ned.w...@codeheadsystems.com
I'd like to take this topic and present my new game: UFO Invasion


At the moment it is only released on HTML backend and it's already in the PlayN games and demos link..

For those who wants to try it!

Regards

Brigt Vik

unread,
May 13, 2013, 4:11:45 PM5/13/13
to pl...@googlegroups.com, la...@bulbsort.com
Sorry, but it doesn't work at all for me, on Windows XP using Firefox 20.0.1. I can choose the ship, but when I click Play the game freezes. By the way, the game could use a word or four about the difference between the ships.

wagner....@gmail.com

unread,
May 15, 2013, 3:49:34 AM5/15/13
to pl...@googlegroups.com
I don't know what is the problem Brigt.. Don't you have Chrome to try the game?


Regards

Brigt Vik

unread,
May 15, 2013, 4:46:25 AM5/15/13
to pl...@googlegroups.com, la...@bulbsort.com
Oh, I didn't realize that it was only supposed to work in Chrome. There it does work. Don't you want the game to work in any HTML5 capable browser?

I played through two levels (6 stages) before quitting. I'm afraid that to me it doesn't add much to the original Space Invaders, but it does what it does well enough. A couple of suggestions:

Startup / "menu" screen:

- Elements are trickling in upon launch. Consider holding off painting the screen until your assets have completed loading.

- Now that I got to actually play, I see that the choice of ship has no effect. Consider making the ships behave differently, or just going with one rather than include a meaningless choice.

Powerups:

- Make powerups cycle through the ones you can get, rather than randomly selecting something when you shoot them. I found myself at times having to shoot them 10-20 times to get what I wanted, wasting a lot of time in the process. As a result, I just decided to stop caring about them at all.

- Speed powerups don't make much sense. You never need more speed than your default speed, and the slowdown is just an annoyance, not dangerous. Maybe if you made the game more bullet-helly, they would make more sense - but then you would never have enough time to stand still and make sure that's the powerup you got. Consider scrapping the speed related powerups, or replacing with something else such as spread shots, temporary shields, chicken fountains or whatnot.

- Random powerups (when you don't shoot the powerup box) don't seem to work. Or, maybe it's not supposed to do anything if you don't choose, but then you may want to explain that in the splash screen. I think it would be a better mechanic to have the ship able to move vertically as well as horizontally, and having to go pick up powerups to have them take effect. You currently force the player to move over there anyway, and I think it will make more sense.

General:

- Mute button. You need it.

- The enemy movement, shooting and formations are bland, even simplistic. Consider adding stuff that moves in different patterns and/or shoots in more interesting ways than directly down all the time.

- Health bar or graphics with increasing amounts of damage on the "bosses" would be a prettier way than posting a hit point number on it. You're doing this better on the regular enemies though, having them emit smoke.

wagner....@gmail.com

unread,
May 15, 2013, 8:47:44 AM5/15/13
to pl...@googlegroups.com
Thanks Brigt for the suggestions! All of them will certainly improve the game.

The game is supposed to work in all browsers.. I have just fixed the problem you told me and now the game runs in Firefox, Chrome, Safari and Internet Explorer 10. I've tested in these 4 browsers.

I will develop some of your suggestions. I'll start with some options for the sounds effects and music. Then I'll try to improve the assets loading.

I have received many suggestions from friends but I needed to release the "first" version just to know how it will be accepted and get some feedbacks.

I'll think more about different kinds of enemies, bombs and items before publishing it globally.

Andres Martinez Quijano

unread,
May 15, 2013, 8:49:11 AM5/15/13
to pl...@googlegroups.com
out of curiosity, what was the problem that prevented it from working on all browsers?


wagner....@gmail.com

unread,
May 15, 2013, 9:30:56 AM5/15/13
to pl...@googlegroups.com
I'm not sure what happened to work on Chrome and don't on Firefox..

But there is a method to "stop all" the musics and it was located in a position where "maybe" some music was not initialized.. It's strange because I have all musics initialized before hand, it worked on Chrome and others browsers before I start using this "stop all".

I commented this "stop all" call and the problem was solved on Firefox.. Then I tested on IE10 and works too. I changed the position of "stop all" method call in order to avoid this problem.

I don't know the difference between Chorme and the others browsers here.

wagner....@gmail.com

unread,
May 20, 2013, 4:19:23 AM5/20/13
to pl...@googlegroups.com
Hi,

During this weekend I have made some improvements you have suggested:
- settings for sounds;
- completed loading of images before painting;
- ships now have different characteristics relating to the maximum number of lives and rockets.

More suggetions will be implemented.


Thanks and regards!

Chii Chan

unread,
Jun 10, 2013, 6:15:10 AM6/10/13
to pl...@googlegroups.com, wagner....@gmail.com
also, you should put some help tips as to what keys to press to fire (i still havne't worked it out - pressing space, a, ctrl, mouse click, none of it works).

wagner....@gmail.com

unread,
Jun 10, 2013, 9:35:27 AM6/10/13
to pl...@googlegroups.com, wagner....@gmail.com
Hi! Before starting the game, there is this picture:

It presents some tips.. how to move and shoot (key F), and what items you can get from the boxes..

Chii Chan

unread,
Jun 18, 2013, 7:57:00 AM6/18/13
to pl...@googlegroups.com, wagner....@gmail.com
ah, that picture didnt load the first time i played the game! now i see it ;D

wagner....@gmail.com

unread,
Jul 8, 2013, 8:21:05 AM7/8/13
to pl...@googlegroups.com, wagner....@gmail.com

wagner....@gmail.com

unread,
Sep 22, 2013, 7:12:00 PM9/22/13
to pl...@googlegroups.com
My game have had access from many countries of the world!! :)
Reply all
Reply to author
Forward
0 new messages