Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411421 Posts in 69363 Topics- by 58416 Members - Latest Member: timothy feriandy

April 18, 2024, 04:13:57 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsMr. Hat I - Demo Inside -
Pages: 1 [2]
Print
Author Topic: Mr. Hat I - Demo Inside -  (Read 8537 times)
R.D.
Level 2
**


Making a game about balls. Yepp.


View Profile WWW
« Reply #20 on: February 27, 2012, 01:17:49 AM »

Yes that's what a meant saying : "...a layer above lwjgl" Smiley ( minuse the "r" xD My English writing skills are equal to zero...)
Logged

TheMaestro
Level 0
*


View Profile
« Reply #21 on: April 01, 2012, 12:07:09 PM »

Wow, this looks awesome? Could I (pretty please) have the source code for this? I've been trying to create a platformer, and as a Java newbie, it's pretty hard.
Logged
R.D.
Level 2
**


Making a game about balls. Yepp.


View Profile WWW
« Reply #22 on: April 01, 2012, 11:55:34 PM »

I tell you what I told everyone. I will not give you the plain source code. BUT I have nothing against decompiling the current jar file Smiley I know this way the code might look strange but it will give you a good view on the basics.
I just don't want to share code I don't like myself. It's bad written imho and I'm currently doing heavy changes.
I plan to give the source as soon as the second demo is finished. With this second demo the project will move to some fancy version control and you can pull changes whenever you like.
The idea is to have somthing like the Kickstarter project where people see what I do. Of course NO sound and no Graphics will be pushed to the repository :p
« Last Edit: April 02, 2012, 06:08:04 AM by R.D. » Logged

TheMaestro
Level 0
*


View Profile
« Reply #23 on: April 03, 2012, 11:39:36 AM »

Well, I started decompiling some classes, and I have to say, this looks really complicated. The best thing I've done so far is a small platformer with no working physics. I guess I have a long ways to go. Anyway, keep up the great work.  Smiley
Logged
R.D.
Level 2
**


Making a game about balls. Yepp.


View Profile WWW
« Reply #24 on: April 04, 2012, 02:48:41 AM »

Haha, I never thought anyone would said that to me Smiley
I decompiled code always looks a bit messy and stuff. But the source is better... it fully documented because I had too xD I even had to document setters and getters (I hate this :/)

Just try different stuff and you will get to the point where you will stop "programming" and start "making a game".
Logged

Keeweed
Level 0
**



View Profile WWW
« Reply #25 on: April 25, 2012, 11:48:47 AM »

Very nice! I think the theme/harmony is very strong in this game. Every detail, like the sound blobs and the character's way of walking and running, fit right in.
Logged

Path of Adventure - A text-based roguelike, for mobile
R.D.
Level 2
**


Making a game about balls. Yepp.


View Profile WWW
« Reply #26 on: April 25, 2012, 11:28:28 PM »

Thanks a lot. I'm kinda suprised so many people think it looks polished! I still want to make a lot of stuff better. Especially Jumping around and collision Smiley
I dunno when I can work on it, Intership is over soon but "Bachlor" ist just around the corner Smiley
Logged

Qqwy
Level 1
*


To who might ever read this: I love you!


View Profile WWW
« Reply #27 on: April 26, 2012, 12:55:06 AM »

The screenshots look amazing, but I'm unable to run the demo. When I try to, the screen switches from my current(1024x874 or whatever it is) to a much lower setting back and forth a few times, and then nothing happens anymore.

Let me share the error file:
Quote
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x054d30d7, pid=6804, tid=5768
#
# JRE version: 7.0_02-b13
# Java VM: Java HotSpot(TM) Client VM (22.0-b10 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [ig4dev32.dll+0x30d7]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x01c52400):  JavaThread "main" [_thread_in_native, id=5768, stack(0x00ac0000,0x00b10000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00b0eb64, EDX=0x00b0eb4c
ESP=0x00b0eb3c, EBP=0x00241710, ESI=0x00000000, EDI=0x00000001
EIP=0x054d30d7, EFLAGS=0x00010246

Top of Stack: (sp=0x00b0eb3c)
0x00b0eb3c:   00b0eb64 00000001 00246698 00000001
0x00b0eb4c:   00000000 00000000 057825a8 00000330
0x00b0eb5c:   00000000 00000000 4000fe80 00000000
0x00b0eb6c:   00000000 00000000 00000000 00000000
0x00b0eb7c:   00000000 00000001 00b0eb4c 00000001
0x00b0eb8c:   00000000 00000006 00000001 00000004
0x00b0eb9c:   00020000 00000010 00000001 00000001
0x00b0ebac:   00000000 00000000 00000000 00000000

Instructions: (pc=0x054d30d7)
0x054d30b7:   89 74 24 30 89 74 24 34 89 74 24 38 89 74 24 3c
0x054d30c7:   89 74 24 40 89 7c 24 44 89 54 24 48 89 7c 24 4c
0x054d30d7:   8b 03 53 ff 50 1c 8b 4c 24 0c f7 d8 1b c0 5f f7
0x054d30e7:   d0 5e 23 c1 5b 81 c4 80 00 00 00 c2 04 00 cc cc


Register to memory mapping:

EAX=0x00000000 is an unknown value
EBX=0x00000000 is an unknown value
ECX=0x00b0eb64 is pointing into the stack for thread: 0x01c52400
EDX=0x00b0eb4c is pointing into the stack for thread: 0x01c52400
ESP=0x00b0eb3c is pointing into the stack for thread: 0x01c52400
EBP=0x00241710 is an unknown value
ESI=0x00000000 is an unknown value
EDI=0x00000001 is an unknown value


Stack: [0x00ac0000,0x00b10000],  sp=0x00b0eb3c,  free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ig4dev32.dll+0x30d7]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.WindowsContextImplementation.nCreate(Ljava/nio/ByteBuffer;Ljava/nio/IntBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;+0
j  org.lwjgl.opengl.WindowsContextImplementation.create(Lorg/lwjgl/opengl/PeerInfo;Ljava/nio/IntBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;+10
j  org.lwjgl.opengl.Context.<init>(Lorg/lwjgl/opengl/PeerInfo;Lorg/lwjgl/opengl/ContextAttribs;Lorg/lwjgl/opengl/Context;)V+103
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;Lorg/lwjgl/opengl/Drawable;Lorg/lwjgl/opengl/ContextAttribs;)V+98
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;)V+9
j  org.newdawn.slick.AppGameContainer.tryCreateDisplay(Lorg/lwjgl/opengl/PixelFormat;)V+7
j  org.newdawn.slick.AppGameContainer.access$000(Lorg/newdawn/slick/AppGameContainer;Lorg/lwjgl/opengl/PixelFormat;)V+2
j  org.newdawn.slick.AppGameContainer$2.run()Ljava/lang/Object;+112
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j  org.newdawn.slick.AppGameContainer.setup()V+112
j  org.newdawn.slick.AppGameContainer.start()V+1
j  radicalDude.hat.MrHatI.main([Ljava/lang/String;)V+407
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x04786400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4176, stack(0x04fd0000,0x05020000)]
  0x01d11000 JavaThread "Service Thread" daemon [_thread_blocked, id=6012, stack(0x046c0000,0x04710000)]
  0x01d04000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=7056, stack(0x04470000,0x044c0000)]
  0x01d02800 JavaThread "Attach Listener" daemon [_thread_blocked, id=6476, stack(0x045d0000,0x04620000)]
  0x01cff400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5540, stack(0x044f0000,0x04540000)]
  0x01cec000 JavaThread "Finalizer" daemon [_thread_blocked, id=5900, stack(0x01db0000,0x01e00000)]
  0x01ce7000 JavaThread "Reference Handler" daemon [_thread_blocked, id=8136, stack(0x04570000,0x045c0000)]
=>0x01c52400 JavaThread "main" [_thread_in_native, id=5768, stack(0x00ac0000,0x00b10000)]

Other Threads:
  0x01ce5400 VMThread [stack: 0x01d50000,0x01da0000] [id=7760]
  0x01d13400 WatcherThread [stack: 0x04620000,0x04670000] [id=4648]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4928K, used 3850K [0x24800000, 0x24d50000, 0x29d50000)
  eden space 4416K,  87% used [0x24800000, 0x24bc2878, 0x24c50000)
  from space 512K,   0% used [0x24c50000, 0x24c50000, 0x24cd0000)
  to   space 512K,   0% used [0x24cd0000, 0x24cd0000, 0x24d50000)
 tenured generation   total 10944K, used 0K [0x29d50000, 0x2a800000, 0x34800000)
   the space 10944K,   0% used [0x29d50000, 0x29d50000, 0x29d50200, 0x2a800000)
 compacting perm gen  total 12288K, used 1258K [0x34800000, 0x35400000, 0x38800000)
   the space 12288K,  10% used [0x34800000, 0x3493ab70, 0x3493ac00, 0x35400000)
    ro space 10240K,  42% used [0x38800000, 0x38c3d448, 0x38c3d600, 0x39200000)
    rw space 12288K,  54% used [0x39200000, 0x3987e0c0, 0x3987e200, 0x39e00000)

Code Cache  [0x02400000, 0x024c0000, 0x04400000)
 total_blobs=274 nmethods=77 adapters=133 free_code_cache=32002Kb largest_free_block=32770048

Dynamic libraries:
0x00ca0000 - 0x00ccf000    C:\Program Files\Java\jre7\bin\javaw.exe
0x76fa0000 - 0x770c8000    C:\Windows\system32\ntdll.dll
0x76610000 - 0x766ec000    C:\Windows\system32\kernel32.dll
0x769e0000 - 0x76aa6000    C:\Windows\system32\ADVAPI32.dll
0x75660000 - 0x75722000    C:\Windows\system32\RPCRT4.dll
0x76b80000 - 0x76c1d000    C:\Windows\system32\USER32.dll
0x76910000 - 0x7695b000    C:\Windows\system32\GDI32.dll
0x743a0000 - 0x7453e000    C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18523_none_5cdd65e20837faf2\COMCTL32.dll
0x76c80000 - 0x76d2a000    C:\Windows\system32\msvcrt.dll
0x76c20000 - 0x76c78000    C:\Windows\system32\SHLWAPI.dll
0x764b0000 - 0x764ce000    C:\Windows\system32\IMM32.DLL
0x76ab0000 - 0x76b78000    C:\Windows\system32\MSCTF.dll
0x75650000 - 0x75659000    C:\Windows\system32\LPK.DLL
0x76960000 - 0x769dd000    C:\Windows\system32\USP10.dll
0x6ca00000 - 0x6cabe000    C:\Program Files\Java\jre7\bin\msvcr100.dll
0x62ef0000 - 0x63218000    C:\Program Files\Java\jre7\bin\client\jvm.dll
0x72ff0000 - 0x72ff7000    C:\Windows\system32\WSOCK32.dll
0x76480000 - 0x764ad000    C:\Windows\system32\WS2_32.dll
0x770e0000 - 0x770e6000    C:\Windows\system32\NSI.dll
0x74130000 - 0x74162000    C:\Windows\system32\WINMM.dll
0x75730000 - 0x75874000    C:\Windows\system32\ole32.dll
0x766f0000 - 0x7677d000    C:\Windows\system32\OLEAUT32.dll
0x740f0000 - 0x74129000    C:\Windows\system32\OLEACC.dll
0x75640000 - 0x75647000    C:\Windows\system32\PSAPI.DLL
0x728d0000 - 0x728dc000    C:\Program Files\Java\jre7\bin\verify.dll
0x6ed60000 - 0x6ed80000    C:\Program Files\Java\jre7\bin\java.dll
0x6e7e0000 - 0x6e7f3000    C:\Program Files\Java\jre7\bin\zip.dll
0x6de20000 - 0x6de34000    C:\Program Files\Java\jre7\bin\net.dll
0x74c80000 - 0x74cbb000    C:\Windows\system32\mswsock.dll
0x74ce0000 - 0x74ce5000    C:\Windows\System32\wship6.dll
0x72a20000 - 0x72a2f000    C:\Program Files\Java\jre7\bin\nio.dll
0x10000000 - 0x10072000    C:\Users\WM\AppData\Local\Opera\Opera\temporary_downloads\mrhat_windows\windows\native\windows\lwjgl.dll
0x6cb50000 - 0x6cc1b000    C:\Windows\system32\OPENGL32.dll
0x6dd20000 - 0x6dd43000    C:\Windows\system32\GLU32.dll
0x6c840000 - 0x6c925000    C:\Windows\system32\DDRAW.dll
0x6ab80000 - 0x6ab86000    C:\Windows\system32\DCIMAN32.dll
0x76780000 - 0x7690a000    C:\Windows\system32\SETUPAPI.dll
0x72fe0000 - 0x72fec000    C:\Windows\system32\dwmapi.dll
0x74cf0000 - 0x74cf8000    C:\Windows\system32\VERSION.dll
0x64a30000 - 0x64b72000    C:\Program Files\Java\jre7\bin\awt.dll
0x749d0000 - 0x74a0b000    C:\Windows\system32\rsaenh.dll
0x75500000 - 0x7551e000    C:\Windows\system32\USERENV.dll
0x754e0000 - 0x754f4000    C:\Windows\system32\Secur32.dll
0x74040000 - 0x7404f000    C:\Windows\system32\NLAapi.dll
0x74eb0000 - 0x74ec9000    C:\Windows\system32\IPHLPAPI.DLL
0x74e70000 - 0x74ea5000    C:\Windows\system32\dhcpcsvc.DLL
0x75100000 - 0x7512c000    C:\Windows\system32\DNSAPI.dll
0x74e60000 - 0x74e67000    C:\Windows\system32\WINNSI.DLL
0x74e30000 - 0x74e51000    C:\Windows\system32\dhcpcsvc6.DLL
0x741e0000 - 0x741ef000    C:\Windows\system32\napinsp.dll
0x740b0000 - 0x740c2000    C:\Windows\system32\pnrpnsp.dll
0x741d0000 - 0x741dc000    C:\Windows\system32\wshbth.dll
0x741c0000 - 0x741c8000    C:\Windows\System32\winrnr.dll
0x76d60000 - 0x76daa000    C:\Windows\system32\WLDAP32.dll
0x74930000 - 0x74935000    C:\Windows\System32\wshtcpip.dll
0x74230000 - 0x74236000    C:\Windows\system32\rasadhlp.dll
0x718a0000 - 0x718a6000    C:\Windows\system32\IconCodecService.dll
0x73580000 - 0x73633000    C:\Windows\system32\WindowsCodecs.dll
0x746a0000 - 0x746df000    C:\Windows\system32\uxtheme.dll
0x05280000 - 0x054d0000    C:\Windows\system32\ig4icd32.dll
0x054d0000 - 0x0565b000    C:\Windows\system32\ig4dev32.dll
0x72be0000 - 0x72c42000    C:\Windows\system32\mscms.dll
0x70a20000 - 0x70a62000    C:\Windows\system32\WINSPOOL.DRV
0x6c9c0000 - 0x6c9f8000    C:\Windows\system32\icm32.dll

VM Arguments:
java_command: C:\Users\WM\AppData\Local\Opera\Opera\temporary_downloads\mrhat_windows\windows\MrHat.exe
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=c:\program files\java\jre7
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
PATH=C:\Users\WM\AppData\Local\Google\Chrome;K:\Program Files\ImageMagick-6.7.4-Q16;K:\Program Files\ImageMagick-6.5.6-Q8;C:\Program Files\ImageMagick-6.6.4-Q16;c:\devkitPro\msys\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Program Files\PHP;c:\Program Files\Microsoft SQL Server\90\Tools\binn;c:\Program Files\Common Files\Roxio Shared\DLLShared;c:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\QuickTime\QTSystem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\GTK\bin;c:\jruby-1.6.5.1\bin;C:\Ruby193\bin;K:\Ruby193\bin;C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\Motion-Twin\haxe\;C:\Motion-Twin\neko;C:\Program Files\Java\jre7\bin
USERNAME=WM
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 10, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows Vista Build 6001 Service Pack 1

CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 15 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 2087448k(564616k free), swap 4424008k(1572216k free)

vm_info: Java HotSpot(TM) Client VM (22.0-b10) for windows-x86 JRE (1.7.0_02-b13), built on Nov 17 2011 17:17:32 by "java_re" with unknown MS VC++:1600

time: Thu Apr 26 10:51:10 2012
elapsed time: 12 seconds

Logged



Ř̺͈̮ͬͣ͑͂͊̐a̲͈̲̩̫͍̟̕i̪̪̩̼̩̊̽ͫn̴b̗̠͈̯̲͡ͅo̥̤͓̥̩̾͐ẅ̺́͢ ̴̙̑̍̅o̰̹͙̻̭̘̅͌͐̾ͅf̖̖͖͍̽̅̉͡ ͓̱͓͔̖̣̗ͭC̽҉̗̼̳̖͇̳h̺͕͠a̵̾ͤ͆́́o̼̙͖͎͍̳̅̿ͣs͓̒̌̀  FOCUS-Bytebeat
R.D.
Level 2
**


Making a game about balls. Yepp.


View Profile WWW
« Reply #28 on: April 26, 2012, 01:03:10 AM »

Well now that's strange. I NEVER saw that error on a Windows machiene o.o That seems like a problem with the LWJGL Framework considering the error log. There should also be an err.log in the game folder btw.
Mh this might be a Vista problem... I never tested it on Vista but thought it would run fine Shocked

I ask the guys of LWJGL maybe they have some info for me Smiley
Logged

Qqwy
Level 1
*


To who might ever read this: I love you!


View Profile WWW
« Reply #29 on: April 26, 2012, 01:43:53 AM »

The err.log is totally empty  Shocked... I tried running it in Compatibility mode, but it still does the same thing. I'll try the other computer now, but it also has Vista installed...
Logged



Ř̺͈̮ͬͣ͑͂͊̐a̲͈̲̩̫͍̟̕i̪̪̩̼̩̊̽ͫn̴b̗̠͈̯̲͡ͅo̥̤͓̥̩̾͐ẅ̺́͢ ̴̙̑̍̅o̰̹͙̻̭̘̅͌͐̾ͅf̖̖͖͍̽̅̉͡ ͓̱͓͔̖̣̗ͭC̽҉̗̼̳̖͇̳h̺͕͠a̵̾ͤ͆́́o̼̙͖͎͍̳̅̿ͣs͓̒̌̀  FOCUS-Bytebeat
R.D.
Level 2
**


Making a game about balls. Yepp.


View Profile WWW
« Reply #30 on: April 26, 2012, 01:50:51 AM »

if it's empty it must be a problem with LWJGL Shocked I made a Thread for the probmlem hopefully I can give you an answer soon Smiley
Logged

R.D.
Level 2
**


Making a game about balls. Yepp.


View Profile WWW
« Reply #31 on: April 30, 2012, 08:33:52 AM »

Sooooo~

The guys from LWJGl say you need to update your driver (they said it's an intel error so do you have and intel CPU or GPU?)
Logged

Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic