first day progress

this was my first time trying to make a plat former so it was hard to say the least. I got the jump, camera, tilemap, and player controls done today. it was a very productive day.

(log in to comment)

Comments

I am on a mac and when I ran main.py, I got this error:


pygame 2.0.1 (SDL 2.0.14, Python 3.9.1)

Hello from the pygame community. https://www.pygame.org/contribute.html

False

2021-04-04 19:59:53.207 Python[13373:576199] -[SDLApplication macOSVersion]: unrecognized selector sent to instance 0x7fae8745da20

2021-04-04 19:59:53.208 Python[13373:576199] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SDLApplication macOSVersion]: unrecognized selector sent to instance 0x7fae8745da20'

*** First throw call stack:

(

 0 CoreFoundation 0x00007fff206186af __exceptionPreprocess + 242

 1 libobjc.A.dylib 0x00007fff203503c9 objc_exception_throw + 48

 2 CoreFoundation 0x00007fff2069ac85 -[NSObject(NSObject) __retain_OA] + 0

 3 CoreFoundation 0x00007fff2058007d ___forwarding___ + 1467

 4 CoreFoundation 0x00007fff2057fa38 _CF_forwarding_prep_0 + 120

 5 libtk8.6.dylib 0x000000010fee9af0 GetRGBA + 282

 6 libtk8.6.dylib 0x000000010fee9522 SetCGColorComponents + 124

 7 libtk8.6.dylib 0x000000010fee9925 TkpGetColor + 543

 8 libtk8.6.dylib 0x000000010fe4993b Tk_GetColor + 143

 9 libtk8.6.dylib 0x000000010fe3c792 Tk_Get3DBorder + 118

 10 libtk8.6.dylib 0x000000010fe3c61a Tk_Alloc3DBorderFromObj + 127

 11 libtk8.6.dylib 0x000000010fe4ac0f DoObjConfig + 970

 12 libtk8.6.dylib 0x000000010fe4a72a Tk_InitOptions + 333

 13 libtk8.6.dylib 0x000000010fe4a622 Tk_InitOptions + 69

 14 libtk8.6.dylib 0x000000010fe71c44 CreateFrame + 1557

 15 libtk8.6.dylib 0x000000010fe71ecd TkListCreateFrame + 137

 16 libtk8.6.dylib 0x000000010fe6a6c5 Initialize + 2002

 17 _tkinter.cpython-39-darwin.so 0x0000000108575715 Tcl_AppInit + 84

 18 _tkinter.cpython-39-darwin.so 0x0000000108570a04 _tkinter_create + 987

 19 Python 0x0000000106f431bb cfunction_vectorcall_FASTCALL + 203

 20 Python 0x0000000106fbaff3 call_function + 403

 21 Python 0x0000000106fb8184 _PyEval_EvalFrameDefault + 27452

 22 Python 0x0000000106fbbb3b _PyEval_EvalCode + 1998

 23 Python 0x0000000106f135d8 _PyFunction_Vectorcall + 248

 24 Python 0x0000000106f12e67 _PyObject_FastCallDictTstate + 212

 25 Python 0x0000000106f13891 _PyObject_Call_Prepend + 139

 26 Python 0x0000000106f5be96 slot_tp_init + 87

 27 Python 0x0000000106f556f7 type_call + 150

 28 Python 0x0000000106f12fa3 _PyObject_MakeTpCall + 266

 29 Python 0x0000000106fbb027 call_function + 455

 30 Python 0x0000000106fb8184 _PyEval_EvalFrameDefault + 27452

 31 Python 0x0000000106f13648 function_code_fastcall + 97

 32 Python 0x0000000106fbaff3 call_function + 403

 33 Python 0x0000000106fb8168 _PyEval_EvalFrameDefault + 27424

 34 Python 0x0000000106fbbb3b _PyEval_EvalCode + 1998

 35 Python 0x0000000106fb156d PyEval_EvalCode + 79

 36 Python 0x0000000106fec5b5 run_eval_code_obj + 110

 37 Python 0x0000000106feb9ad run_mod + 103

 38 Python 0x0000000106fea871 PyRun_FileExFlags + 241

 39 Python 0x0000000106fe9e61 PyRun_SimpleFileExFlags + 271

 40 Python 0x0000000107001d88 Py_RunMain + 1839

 41 Python 0x00000001070020c1 pymain_main + 306

 42 Python 0x000000010700210f Py_BytesMain + 42

 43 libdyld.dylib 0x00007fff204c1621 start + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

zsh: abort python3 main.py

@speedlimit35 I was using linux and pygame 1.9.6 so im sorry but i don't really get your problem. sid you try running it in vscode? or an ide cause a terminal wpuld be great.