|
Title: Question about the Raspberry Pi. Post by: indietom on November 27, 2012, 12:46:17 PM Hi!
I've seen a lot of tutorails on game programming on the Raspberry Pi and they all use python but can I use C++ and sdl? Title: Re: Question about the Raspberry Pi. Post by: kamac on November 27, 2012, 12:52:51 PM Yes, you can.
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=33&t=13789 Title: Re: Question about the Raspberry Pi. Post by: indietom on November 27, 2012, 11:07:56 PM Thanks :coffee:
Title: Re: Question about the Raspberry Pi. Post by: Gimym JIMBERT on November 27, 2012, 11:32:27 PM If I made a linux build from unity it will work on the arm processor ?? :beg:
Title: Re: Question about the Raspberry Pi. Post by: moi on November 27, 2012, 11:38:54 PM go to sleep that's what
Title: Re: Question about the Raspberry Pi. Post by: PompiPompi on November 27, 2012, 11:43:30 PM Hmm, what kind of Android OS can you install on it, and can you install any apk or download from google play just like a normal phone?
Or does it use a modified Android OS? Title: Re: Question about the Raspberry Pi. Post by: JakobProgsch on November 28, 2012, 02:43:47 AM Afaik there is no Android for it yet. You just run regular linux essentially. Raspbian is pretty much debian...
Title: Re: Question about the Raspberry Pi. Post by: PompiPompi on November 28, 2012, 03:38:38 AM I think there is some version of Android for it, as I skimmed on the forums.
I also heard you can run Android on it a long time ago, it would be weird not to since it got the hardware for that... You can also connect a touch screen to it. Does linux have touch screen support? (I guess it does). Title: Re: Question about the Raspberry Pi. Post by: JakobProgsch on November 28, 2012, 05:02:14 AM It seems so after some googling. But the primary approach on the pi is still to just use raspbian or similar. That gives you essentially a regular linux distro including all the usual goodies like gcc/interpreters etc. So you can program it with pretty much whatever you want. For graphics i'd still use OpenGL ES though and not a cpu renderer. The main issue being that there is lots of OpenGL ES power but the ARM cpu is fairly weak.
Title: Re: Question about the Raspberry Pi. Post by: PompiPompi on November 28, 2012, 05:10:24 AM What do you mean by primary approach? If I want to run Android games on RPi, I need to use Android, right?
I would also think there are more games for Android suitable for this specific hardware caps than on Linux. Title: Re: Question about the Raspberry Pi. Post by: rivon on November 28, 2012, 08:27:04 AM If I made a linux build from unity it will work on the arm processor ?? :beg: No.What do you mean by primary approach? If I want to run Android games on RPi, I need to use Android, right? RPi is not made for running Android. If you want Android, buy a smartphone or a tablet, it will be much easier for you. There may be some ROM which runs on it but I guess it won't be smooth. RPi is aimed at regular ARM distros. And there are some, like the Raspbian, which are specially optimized for RPi.I would also think there are more games for Android suitable for this specific hardware caps than on Linux. Title: Re: Question about the Raspberry Pi. Post by: moi on November 28, 2012, 07:21:20 PM http://www.gamasutra.com/view/news/182262/Minecraft_Pi_Edition_aims_to_encourage_young_people_to_code.php#.ULbUf2efD99
Title: Re: Question about the Raspberry Pi. Post by: Ryland on November 28, 2012, 07:46:42 PM http://www.gamasutra.com/view/news/182262/Minecraft_Pi_Edition_aims_to_encourage_young_people_to_code.php#.ULbUf2efD99 That sounds kind of cool, but how exactly would you manipulate things in the game world? Would you just create new procedural content generation algorithms? Or would it basically just be a version of minecraft that's easier to mod?Title: Re: Question about the Raspberry Pi. Post by: Gimym JIMBERT on November 28, 2012, 08:05:45 PM more info here:
http://www.mojang.com/2012/11/minecraft-is-coming-to-the-raspberry-pi/ http://www.raspberrypi.org/archives/2603 http://www.youtube.com/playlist?list=PLgyU3jNA6VjS3ij6ZXbb2x4GdEP3bAWzO Title: Re: Question about the Raspberry Pi. Post by: indietom on November 29, 2012, 09:43:52 AM I want one. But can I run code::blocks on it?
Title: Re: Question about the Raspberry Pi. Post by: Evan Balster on November 29, 2012, 09:57:00 AM Yar.
https://code.google.com/p/codeblocks-on-raspberrypi/ Title: Re: Question about the Raspberry Pi. Post by: kamac on November 29, 2012, 10:00:50 AM I want one. But can I run code::blocks on it? Althrough, don't expect it to run fast. :P It's going to run OK, but don't expect miracles. Title: Re: Question about the Raspberry Pi. Post by: moi on November 29, 2012, 02:06:39 PM I'm a bit disappointed, when I first heard of the rPi, I thought they would go back to simpler programming paradigms, with assembler and stuff like that, instead we get linux, openGL and C++ :nono:
Title: Re: Question about the Raspberry Pi. Post by: PompiPompi on November 29, 2012, 02:13:33 PM Err, the whole point is that you get a complete OS instead of doing painful embedded programming.
Title: Re: Question about the Raspberry Pi. Post by: Klaim on November 29, 2012, 02:18:20 PM I'm a bit disappointed, when I first heard of the rPi, I thought they would go back to simpler programming paradigms, with assembler and stuff like that, instead we get linux, openGL and C++ :nono: It's for children by the way, the default OS is focused on providing a simple dev environnement using Python. If you want lower kind of hardware, Arduino is your friend. Title: Re: Question about the Raspberry Pi. Post by: JakobProgsch on November 29, 2012, 02:29:25 PM I want one. But can I run code::blocks on it? You probably can. I just us it in console with emacs though. You can run OpenGL ES stuff without running X which is nice since that leaves you with more memory. Admittedly memory is less of an issue with the new 512mb version thoughTitle: Re: Question about the Raspberry Pi. Post by: Gimym JIMBERT on November 29, 2012, 02:52:56 PM You can't assembler because the chipmaker put dna, RTFM!
Title: Re: Question about the Raspberry Pi. Post by: rivon on November 29, 2012, 03:00:21 PM I'm a bit disappointed, when I first heard of the rPi, I thought they would go back to simpler programming paradigms, with assembler and stuff like that, instead we get linux, openGL and C++ :nono: If you want to program with assembler, buy some Atmel AVR board, like AVR Butterfly or something.Title: Re: Question about the Raspberry Pi. Post by: JakobProgsch on November 29, 2012, 03:07:24 PM You can't assembler because the chipmaker put dna, RTFM! Huh? you certainly can happily code assembler just like you can in any linux environment... Title: Re: Question about the Raspberry Pi. Post by: moi on November 29, 2012, 03:27:52 PM I want something with zero abstraction, or the minimum abstraction possible, like 8 bit computers of the good old times. Modern computers create generations of nerds who spend more time swimming in the abstraction layers than actually producing actual result with the machine.
machine > code Also bonus points if I can create killer robots with the hardware. Title: Re: Question about the Raspberry Pi. Post by: JakobProgsch on November 29, 2012, 03:35:32 PM Look at the already mentioned Atmel AVRs then. Those are perfectly fine for building robots.
Title: Re: Question about the Raspberry Pi. Post by: moi on November 29, 2012, 09:22:41 PM yes, I'd like to get into more hardwarey stuff when I have the time
:wizard: :handanykey: :handanykey: Title: Re: Question about the Raspberry Pi. Post by: rivon on November 30, 2012, 12:39:43 AM Yeah, AVR is 8bit RISC CPU, has 32 8-bit registers of which six can also be used as 16-bit address registers. It can also be programmed in C if you decide that assembler is way too hardcore :)
|