GameDev.lv forums

Latviešu spēļu izstrādātāju forums
It is currently 25 Apr 2018, 23:18

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Wild Apex Rally
PostPosted: 20 Dec 2016, 17:40 
Offline
User avatar

Joined: 05 Nov 2016, 07:08
Posts: 12
Vienā vēlā vakarā, pēc neliela iestrēdziena ar RollHill spēli, sagribējās paeksperimentēt.
Tā kā trase man burtiski bija pa rokai gandrīz gatava, ieliku Unity3d līdzi doto mašiņu un paspēlējos ar fizikas parametriem, lai ir uz rallija braukšanas pusi.
Image

Pašam īstenībā iepatikās un izmantoju kā fikso atslodzes jautrību - pamēģinat uzbraukt kalnā un nodriftēt atpakaļ uz startu.
Principā pats projektiņš ir kā eksperiments gan priekš braukšanas spēļu fizikas gan arī priekš iepazīšanās ar itch.io

https://mindboiler.itch.io/wild-apex-rally

_________________
3D artist @RollHill game - online WebGL version here: mindboiler.com
SciFi lover, a skeptic and a dreamer.


Top
 Profile  
 
 Post subject: Re: Wild Apex Rally
PostPosted: 21 Dec 2016, 09:21 
Offline
Guru
Guru

Joined: 07 Dec 2010, 12:54
Posts: 398
Lieliski. Man patika. Tikai uz mana x86_64 ArchLinux izejot no spēles tā nokrašo ar SIGSEGV. Backtace daudz nepalīdz...
Code:
Thread 1 "WildApexRally.x" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fb8b80 (LWP 17259)]
0x0000000000916018 in ?? ()
(gdb) thread apply all backtrace

Thread 8 (Thread 0x7fffcd013700 (LWP 17278)):
#0  0x00007ffff79c84f7 in do_futex_wait.constprop () at /usr/lib/libpthread.so.0
#1  0x00007ffff79c85a4 in __new_sem_wait_slow.constprop.0 () at /usr/lib/libpthread.so.0
#2  0x00000000008e360b in  ()
#3  0x0000000000f0bf98 in  ()
#4  0x0000000000f13f0f in  ()
#5  0x0000000000f0a4d7 in  ()
#6  0x00000000008e2a58 in  ()
#7  0x00007ffff79c0454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ffff62917df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fffcf3a1700 (LWP 17268)):
#0  0x00007ffff628848d in poll () at /usr/lib/libc.so.6
#1  0x00007fffdac11121 in  () at /usr/lib/libpulse.so.0
#2  0x00007fffdac028f1 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3  0x00007fffdac02f8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007fffdac03040 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5  0x00007fffdac11069 in  () at /usr/lib/libpulse.so.0
#6  0x00007fffda9afed8 in  () at /usr/lib/pulseaudio/libpulsecommon-9.0.so
#7  0x00007ffff79c0454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ffff62917df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffdbfff700 (LWP 17267)):
#0  0x00007ffff628848d in poll () at /usr/lib/libc.so.6
#1  0x00007fffeb6f7786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffeb6f7b12 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007fffea7ca316 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007fffeb71f0d5 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff79c0454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff62917df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffe0dc2700 (LWP 17266)):
#0  0x00007ffff628848d in poll () at /usr/lib/libc.so.6
#1  0x00007fffeb6f7786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffeb6f789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fffeb6f78e1 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fffeb71f0d5 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff79c0454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff62917df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7fb8b80 (LWP 17259)):
#0  0x0000000000916018 in  ()
#1  0x00007ffff61de990 in __run_exit_handlers () at /usr/lib/libc.so.6
#2  0x00007ffff61de9ea in  () at /usr/lib/libc.so.6
#3  0x00007ffff61c9298 in __libc_start_main () at /usr/lib/libc.so.6
#4  0x000000000046f7a5 in  ()
#5  0x00007fffffffe838 in  ()
#6  0x000000000000001c in  ()
#7  0x0000000000000001 in  ()
#8  0x00007fffffffeaf6 in  ()
#9  0x0000000000000000 in  ()

Izksatās pēc kaut kāda koda, kas tiek izsaukts callback'ā piereģistrētā ar atexit().


Top
 Profile  
 
 Post subject: Re: Wild Apex Rally
PostPosted: 21 Dec 2016, 13:32 
Offline
User avatar

Joined: 05 Nov 2016, 07:08
Posts: 12
Thanks! Oh, segfault himself..
Paši testējām arī kā reiz uz 64 bit Arch Linux.. ar intel hd draiveri, neko nopietni - vairāk vai vispār var palaist un ir ~ok, šitas neizleca.

Sataisīšu mazliet vairāk saturu spēlei + HUD + laika uzņemšana, pārcelšu uz Unity 5.5 un skatīsimies, ko tur var darīt pie updeita.

_________________
3D artist @RollHill game - online WebGL version here: mindboiler.com
SciFi lover, a skeptic and a dreamer.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group