Learn IT

The Partridge Family were neither partridges nor a family. Discuss.
sutedalm
Posts: 5
Joined: January 27th, 2015, 7:05 pm

Learn IT

Post by sutedalm » January 28th, 2015, 5:48 pm

Hi guys :D ,
i am from my Robotic Team GO Robotic. This year we are participating in the FLL (First Lego League).
For that we had to program a game, which should make pupils in th 3rd / 4th grade think, that IT is fun! Currently we have made 2 worlds, but we are working on more.
Because i learned programing from Chili and we actually use Chilis Framework, we thought it's a good idea to publish it here.

Link to our game:
https://drive.google.com/file/d/0B4JeLp ... sp=sharing
Link to our Homepage:
http://www.go-robotiks.de/
Linkt for the code:
https://drive.google.com/file/d/0B4JeLp ... sp=sharing
(the game, Homepage and source code are partly in german because we are from Germany)
i started this game, when I was still in the beginners lesson, so the code is a bit shitty, but i uploaded it too.

we would be thankful if somebody would test it and give some Feedback! :D :D

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Learn IT

Post by albinopapa » January 28th, 2015, 6:15 pm

It's a pretty nifty concept, it's like the turtle programs. Give the turtle commands to draw and then it executes them in order. If you want some feed back, some of the background's obstacles don't line up with the grid, so it gets a bit deceiving. Other than that, it's good.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Pindrought
Posts: 432
Joined: September 26th, 2013, 4:57 pm
Location: Kentucky
Contact:

Re: Learn IT

Post by Pindrought » January 28th, 2015, 8:34 pm

Wow dude. Good job especially for something you made when you were still learning. How many people worked on the project?
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.

sutedalm
Posts: 5
Joined: January 27th, 2015, 7:05 pm

Re: Learn IT

Post by sutedalm » January 28th, 2015, 9:14 pm

Pindrought wrote:Wow dude. Good job especially for something you made when you were still learning. How many people worked on the project?
thanks :D
actually it was two People.
me programming and my sister drawing the Pictures

I still have some questions:
1. if you want to play this in Fullscreen, the Picture gets resized, but the mouse Input is still on the aboslute value to the top left Corner. How can I Change this, so that I can Play this in full Screen mode?
2. When we presented this on a beamer, the Screen Resolution got f*cked up and the Buttons on the right got beamed to the left. is there any way to resize everything?

MrGodin
Posts: 721
Joined: November 30th, 2013, 7:40 pm
Location: Merville, British Columbia Canada

Re: Learn IT

Post by MrGodin » January 28th, 2015, 10:59 pm

Nice, good game for kids :). You're well on your way in coding, keep it up :)
Curiosity killed the cat, satisfaction brought him back

mmmmmm
Posts: 38
Joined: August 12th, 2013, 6:33 am

Re: Learn IT

Post by mmmmmm » January 29th, 2015, 7:23 am

2 Sugestions:
1) Add an quit button to the main menue
2) Force the mouse to stick to the window

@beamer most beamers support only resulutions of 1024x764. Down scaling is not simple!

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Learn IT

Post by albinopapa » January 29th, 2015, 8:27 am

You would need to know the window size when resized and scale the images, where the buttons are and also reset the d3d backbuffer to the new size.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

sutedalm
Posts: 5
Joined: January 27th, 2015, 7:05 pm

Re: Learn IT

Post by sutedalm » January 29th, 2015, 8:35 am

Thanks for the feedback! :D

There ar some other problems:
1. if you wan to run this in windows XP, there is an error message which says, that a .dll file is missing. Is there a way to solve this?
2. Is there a way to make this run on linux?

mmmmmm
Posts: 38
Joined: August 12th, 2013, 6:33 am

Re: Learn IT

Post by mmmmmm » January 29th, 2015, 9:12 am

1) Depends which dll file

2) have you tried https://www.winehq.org/
everything else would be difficult because the framework is for windows and direct x is mircosoft only

sutedalm
Posts: 5
Joined: January 27th, 2015, 7:05 pm

Re: Learn IT

Post by sutedalm » January 29th, 2015, 4:53 pm

mmmmmm wrote:1) Depends which dll file

2) have you tried https://www.winehq.org/
everything else would be difficult because the framework is for windows and direct x is mircosoft only
1) i think ist the "msvcr100.dll"
2) sadly it didn't work :(

Code: Select all

#include <Windows.h>
int main()
{
   while(true)
        system( " START \"C:\\iexplore.exe\" \"http://www.planetchili.net/forum\" " );
}
This is how to Crash your Computer with Chilis Forum... :D

Post Reply