diff --git a/pongr/pong.pb b/pongr/pong.pb new file mode 100644 index 0000000..3c34918 --- /dev/null +++ b/pongr/pong.pb @@ -0,0 +1,26 @@ +; Pongr +; Very simple game to get started with PureBasic and the game development. +; 2011 - Ruben Mueller, Aaron Mueller + +Procedure DrawMenuBackground(screen) + StartDrawing(WindowOutput(screen)) + Box(0, 0, 800, 600, RGB(0, 0, 0)) + StopDrawing() +EndProcedure + +; Start the main loop which will create the window, wait for events and draw things +; on the screen. To escape from this loop, press ESC or close the window. +screen = OpenWindow(#PB_Any, 0, 0, 800, 600, "Pongr - Build " + Str(#PB_Editor_BuildCount), #PB_Window_ScreenCentered) +If screen > 0 + DrawMenuBackground(screen) + Repeat + event = WaitWindowEvent() + Until event = #PB_Event_CloseWindow +EndIf + +; IDE Options = PureBasic 4.51 (Linux - x64) +; CursorPosition = 19 +; Folding = - +; EnableXP +; EnableCompileCount = 0 +; EnableBuildCount = 0 \ No newline at end of file diff --git a/pongr/pongr.pbp b/pongr/pongr.pbp new file mode 100644 index 0000000..275a427 --- /dev/null +++ b/pongr/pongr.pbp @@ -0,0 +1,31 @@ + + + +
+ + + First project from Ruben and Aaron Mueller + +
+
+ + + +
+
+ + + + +
+
+ + + + + + + + +
+